Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lluunn authored and k8s-ci-robot committed Mar 6, 2019
1 parent 7814ff3 commit a583626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrap/cmd/kfctl/cmd/apply.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ func init() {
return
}
applyCmd.Flags().String(string(kftypes.OAUTH_SECRET), "",
"OAuth Client ID, GCP only. Required if ENV CLIENT_SECRET is not set. "+
"OAuth Client Secret, GCP only. Required if ENV CLIENT_SECRET is not set. "+
"Value passed will take precedence to ENV.")
bindErr = applyCfg.BindPFlag(string(kftypes.OAUTH_SECRET), applyCmd.Flags().Lookup(string(kftypes.OAUTH_ID)))
bindErr = applyCfg.BindPFlag(string(kftypes.OAUTH_SECRET), applyCmd.Flags().Lookup(string(kftypes.OAUTH_SECRET)))
if bindErr != nil {
log.Errorf("couldn't set flag --%v: %v", string(kftypes.OAUTH_SECRET), bindErr)
return
Expand Down

0 comments on commit a583626

Please sign in to comment.