command/remote-config: lowercase the type so that Atlas works, for

example
This commit is contained in:
Mitchell Hashimoto 2015-03-26 17:37:05 -07:00
parent 7bfa5afd00
commit 38b1a727bf
1 changed files with 3 additions and 0 deletions

View File

@ -45,6 +45,9 @@ func (c *RemoteConfigCommand) Run(args []string) int {
return 1
}
// Lowercase the type
c.remoteConf.Type = strings.ToLower(c.remoteConf.Type)
// Set the local state path
c.statePath = c.conf.statePath