Skip to content

Commit

Permalink
Fix binding of plural creds (#205)
Browse files Browse the repository at this point in the history
Thinks we're using the wrong env var for access token
  • Loading branch information
michaeljguarino authored Jun 1, 2024
1 parent d77baed commit 3ee301e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/harness/stackrun/v1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func (in *StackRun) Env() []string {
}

if in.Creds != nil {
env = append(env, fmt.Sprintf("PLURAL_CONSOLE_TOKEN=%s", lo.FromPtr(in.Creds.Token)))
env = append(env, fmt.Sprintf("PLURAL_ACCESS_TOKEN=%s", lo.FromPtr(in.Creds.Token)))
env = append(env, fmt.Sprintf("PLURAL_CONSOLE_URL=%s", lo.FromPtr(in.Creds.URL)))
}

Expand Down

0 comments on commit 3ee301e

Please sign in to comment.