From 73851ed5d86f4fb225f1704e233c61ac8a1f332c Mon Sep 17 00:00:00 2001 From: "marcin.suterski" Date: Thu, 11 May 2017 12:34:37 -0400 Subject: [PATCH] Remove remote struct and option lookup since they are not being used any more --- main.go | 3 --- plugin.go | 5 ----- 2 files changed, 8 deletions(-) diff --git a/main.go b/main.go index 0ab0b30..64bd31b 100644 --- a/main.go +++ b/main.go @@ -95,9 +95,6 @@ func run(c *cli.Context) error { _ = godotenv.Load(c.String("env-file")) } - remote := Remote{} - json.Unmarshal([]byte(c.String("remote")), &remote) - var vars map[string]string if c.String("vars") != "" { if err := json.Unmarshal([]byte(c.String("vars")), &vars); err != nil { diff --git a/plugin.go b/plugin.go index 9f890ba..4ff90be 100644 --- a/plugin.go +++ b/plugin.go @@ -29,11 +29,6 @@ type ( Targets []string } - Remote struct { - Backend string `json:"backend"` - Config map[string]string `json:"config"` - } - InitOptions struct { BackendConfig string `json:"backend-config"` Lock *bool `json:"lock-state"`