Skip to content

Commit

Permalink
fix service account login
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljguarino committed Aug 17, 2023
1 parent 43e3b8b commit 8a614ee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/plural/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ func postLogin(conf *config.Config, client api.Client, c *cli.Context) error {
conf.Token = jwt
fmt.Printf("Assumed service account %s\n", saEmail)
config.SetConfig(conf)
client = api.FromConfig(conf)
}

accessToken, err := client.GrabAccessToken()
Expand Down

0 comments on commit 8a614ee

Please sign in to comment.