Skip to content

Commit

Permalink
Update incorrect environment variable for Kaggle key
Browse files Browse the repository at this point in the history
  • Loading branch information
rajapri28613 committed Jul 1, 2023
1 parent 7ba215a commit 1e9608f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/kaggle/api_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@ func APIToken() schema.CredentialType {
}

var defaultEnvVarMapping = map[string]sdk.FieldName{
"KAGGLE_TOKEN": fieldname.Token,
"KAGGLE_KEY": fieldname.Token,
"KAGGLE_USERNAME": fieldname.Username,
}
2 changes: 1 addition & 1 deletion plugins/kaggle/api_token_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestAPITokenProvisioner(t *testing.T) {
},
ExpectedOutput: sdk.ProvisionOutput{
Environment: map[string]string{
"KAGGLE_TOKEN": "z2pifkruzgbb17plmz2gux21fexample",
"KAGGLE_KEY": "z2pifkruzgbb17plmz2gux21fexample",
"KAGGLE_USERNAME": "username",
},
},
Expand Down

0 comments on commit 1e9608f

Please sign in to comment.