Browse Source

Remove remote struct and option lookup since they are not being used any more

pull/41/head
marcin.suterski 8 years ago
parent
commit
73851ed5d8
No known key found for this signature in database GPG Key ID: A6CF8B51D99C0C92
  1. 3
      main.go
  2. 5
      plugin.go

3
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 {

5
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"`

Loading…
Cancel
Save