Skip to content

Commit

Permalink
Update error message for unsupported resource tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
powerkimhub committed Oct 8, 2024
1 parent 0d68498 commit 7ac0792
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api-runtime/common-runtime/TagManager.go
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ func checkTagSupported(connectionName string, resType cres.RSType) error {
driverCapability := cloudDriver.GetDriverCapability()

// Define a common error message format for unsupported tagging
errMsg := fmt.Sprintf("[%s] tagging is not supported for resource type: %s", providerName, resType)
errMsg := fmt.Sprintf("[TAG_NOT_SUPPORTED] Tagging is not supported for the resource: %s-%s", providerName, resType)

// Check if tagging is supported at all
if !driverCapability.TagHandler {
Expand Down

0 comments on commit 7ac0792

Please sign in to comment.