Skip to content

Commit

Permalink
FIX validator for tencent cos resource.
Browse files Browse the repository at this point in the history
  • Loading branch information
karminski committed Apr 23, 2024
1 parent 3411f9c commit a57e083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actionruntime/tencentcos/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ var ACLs = map[string]bool{
}

type Action struct {
Commands string `validate:"required,oneof=list read download delete batchDelete upload batchUpload"`
Commands string `validate:"required,oneof=list getDownloadURL"`
CommandArgs map[string]interface{} `validate:"required"`
}

Expand Down

0 comments on commit a57e083

Please sign in to comment.