command/remote-config: remove weird error case that shows no error

message

/cc @sethvargo
This commit is contained in:
Mitchell Hashimoto 2015-03-26 17:31:33 -07:00
parent 4184570cbd
commit 35da19cc1f
1 changed files with 0 additions and 6 deletions

View File

@ -44,12 +44,6 @@ func (c *RemoteConfigCommand) Run(args []string) int {
return 1
}
// Show help if given no inputs
if !c.conf.disableRemote && c.remoteConf.Type == "atlas" && len(config) == 0 {
cmdFlags.Usage()
return 1
}
// Set the local state path
c.statePath = c.conf.statePath