Skip to content

Commit 7ac33d4

Browse files
add a comment
1 parent 50ed3c1 commit 7ac33d4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

commands/action.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,7 @@ func updateWebSecureAnnotation(websecure string, annotations whisk.KeyValueArr,
877877
//There is no existing action. So we create require-whisk-auth value based on user input.
878878
if existingAction == nil {
879879
whisk.Debug(whisk.DbgInfo, "Creating secure secret for user based on their input.\n")
880+
//Users indicated secret value on command line.
880881
if userProvidedSecret != nil {
881882
whisk.Debug(whisk.DbgInfo, "Setting %v annotation; new secret %v\n", WEB_SECURE_ANNOT, userProvidedSecret)
882883
annotations = annotations.AddOrReplace(&whisk.KeyValue{Key: WEB_SECURE_ANNOT, Value: getNewSecret(userProvidedSecret)})

0 commit comments

Comments
 (0)