Skip to content

Commit

Permalink
cli: set default namespace in login
Browse files Browse the repository at this point in the history
  • Loading branch information
birdayz committed Mar 31, 2019
1 parent 834c27a commit 355334e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/inf/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ var loginCmd = &cobra.Command{
}

cfg.Token = response.Token
cfg.DefaultNamespace = username

err = config.Write()
if err != nil {
Expand Down

0 comments on commit 355334e

Please sign in to comment.