0
0
mirror of https://github.com/thegeeklab/wp-opentofu.git synced 2024-11-24 23:30:39 +00:00

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

This commit is contained in:
marcin.suterski 2017-05-11 12:34:37 -04:00
parent cbbcf0bd65
commit 73851ed5d8
No known key found for this signature in database
GPG Key ID: A6CF8B51D99C0C92
2 changed files with 0 additions and 8 deletions

View File

@ -95,9 +95,6 @@ func run(c *cli.Context) error {
_ = godotenv.Load(c.String("env-file")) _ = godotenv.Load(c.String("env-file"))
} }
remote := Remote{}
json.Unmarshal([]byte(c.String("remote")), &remote)
var vars map[string]string var vars map[string]string
if c.String("vars") != "" { if c.String("vars") != "" {
if err := json.Unmarshal([]byte(c.String("vars")), &vars); err != nil { if err := json.Unmarshal([]byte(c.String("vars")), &vars); err != nil {

View File

@ -29,11 +29,6 @@ type (
Targets []string Targets []string
} }
Remote struct {
Backend string `json:"backend"`
Config map[string]string `json:"config"`
}
InitOptions struct { InitOptions struct {
BackendConfig string `json:"backend-config"` BackendConfig string `json:"backend-config"`
Lock *bool `json:"lock-state"` Lock *bool `json:"lock-state"`