Browse Source
Remove remote struct and option lookup since they are not being used any more
pull/41/head
marcin.suterski
8 years ago
No known key found for this signature in database
GPG Key ID: A6CF8B51D99C0C92
2 changed files with
0 additions and
8 deletions
-
main.go
-
plugin.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 { |
|
|
|
|
|
@ -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"` |
|
|
|