Skip to content

Commit

Permalink
Remove config.yaml from path LocalConfig loads the right path
Browse files Browse the repository at this point in the history
  • Loading branch information
itakouna authored and bkircher committed Mar 16, 2020
1 parent 92fd666 commit f304b12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ zip:
clean:
$(foreach platform,$(PLATFORMS), \
$(foreach arch,$(ARCHES), \
rm -f $(BUILDDIR)/$(EXECUTABLE_NAME)*;))
rm -f $(BUILDDIR)/gscloud_*;))

.PHONY: buildall build clean zip
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ func Execute() {
func init() {
cobra.OnInitialize(initConfig)

rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", fmt.Sprintf("configuration file, default %s/config.yaml", cliConfigPath()))
rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", fmt.Sprintf("configuration file, default %s", cliConfigPath()))
rootCmd.PersistentFlags().StringVar(&account, "account", "", "the account used, 'default' if none given")

rootCmd.AddCommand(kubernetesCmd)
Expand Down

0 comments on commit f304b12

Please sign in to comment.