Skip to content

Commit

Permalink
changed --mfa description; ignoring --mfa for hyrbid and opdk (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
rockspore authored Aug 20, 2020
1 parent 26376ec commit 0293fca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apigee/edge_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func NewEdgeClient(o *EdgeClientOptions) (*EdgeClient, error) {
if e != nil {
return nil, e
}
if o.MgmtURL == defaultBaseURL || o.Auth.MFAToken != "" {
if o.MgmtURL == defaultBaseURL {
c.auth.MFAToken = o.Auth.MFAToken
e = c.getOAuthToken()
if e != nil {
Expand Down
2 changes: 1 addition & 1 deletion cmd/bindings/bindings.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func Cmd(rootArgs *shared.RootArgs, printf shared.FormatFn) *cobra.Command {
c.PersistentFlags().StringVarP(&rootArgs.Password, "password", "p", "",
"Apigee password (legacy or OPDK only)")
c.PersistentFlags().StringVarP(&rootArgs.MFAToken, "mfa", "", "",
"Apigee password (legacy)")
"Apigee multi-factor authorization token (legacy only)")
c.PersistentFlags().StringVarP(&rootArgs.ManagementBase, "management", "m",
"", "Apigee management base URL")

Expand Down

0 comments on commit 0293fca

Please sign in to comment.