Skip to content

Commit bcc6fe7

Browse files
Init passphrase when adding a secret
Fixes the issue where secret is attempted to be set before a stage is deployed and initialised the passphrase
1 parent ee9e97c commit bcc6fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/project/provider/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ func putData(backend Home, key, app, stage string, encrypt bool, data interface{
375375
return err
376376
}
377377
if encrypt {
378-
passphrase, err := Passphrase(backend, app, stage)
378+
passphrase, err := PassphraseInit(backend, app, stage)
379379
if err != nil {
380380
return err
381381
}

0 commit comments

Comments
 (0)