Skip to content

Commit

Permalink
bug: fixes condition for sa token #144
Browse files Browse the repository at this point in the history
  • Loading branch information
srinandan committed Oct 17, 2023
1 parent b36f454 commit f61d490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ var RootCmd = &cobra.Command{

apiclient.SetAPI(api)

if !metadataToken {
if !metadataToken && !defaultToken {
apiclient.SetServiceAccount(cmdServiceAccount)
apiclient.SetIntegrationToken(cmdToken)
}
Expand Down

0 comments on commit f61d490

Please sign in to comment.