Skip to content

Commit

Permalink
fix:[ASSMT-167]: Moved Auth64 to Global Flags (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
ritek01 authored Mar 8, 2024
1 parent ca835c2 commit 7daf595
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,6 +352,11 @@ func main() {
Usage: "Specifies URL to the Spinnaker Gate service. Required when --platform is spinnaker.",
Destination: &migrationReq.SpinnakerAPIKey,
}),
altsrc.NewStringFlag(&cli.StringFlag{
Name: "auth64",
Usage: "Base64 <username>:<password> in case Spinnaker uses basic auth.",
Destination: &migrationReq.Auth64,
}),
}
app := &cli.App{
Name: "harness-upgrade",
Expand Down Expand Up @@ -430,11 +435,6 @@ func main() {
Usage: "Specifies Spinnaker Application from which pipelines to be migrated.",
Destination: &migrationReq.SpinnakerAppName,
},
&cli.StringFlag{
Name: "auth64",
Usage: "Base64 <username>:<password> in case Spinnaker uses basic auth.",
Destination: &migrationReq.Auth64,
},
},
},
{
Expand Down

0 comments on commit 7daf595

Please sign in to comment.