Merge pull request #169 from mattmoyer/promote-login-command

Promote the `pinniped login` command out of alpha.
This commit is contained in:
Matt Moyer 2020-10-23 19:48:44 -05:00 committed by GitHub
commit 6c092deba5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -17,5 +17,5 @@ var loginCmd = &cobra.Command{
//nolint: gochecknoinits
func init() {
alphaCmd.AddCommand(loginCmd)
rootCmd.AddCommand(loginCmd)
}

View File

@ -395,7 +395,7 @@ func spawnTestGoroutine(t *testing.T, f func() error) {
func oidcLoginCommand(ctx context.Context, t *testing.T, pinnipedExe string, sessionCachePath string) *exec.Cmd {
env := library.IntegrationEnv(t)
return exec.CommandContext(ctx, pinnipedExe, "alpha", "login", "oidc",
return exec.CommandContext(ctx, pinnipedExe, "login", "oidc",
"--issuer", env.OIDCUpstream.Issuer,
"--client-id", env.OIDCUpstream.ClientID,
"--listen-port", strconv.Itoa(env.OIDCUpstream.LocalhostPort),