Skip to content

Commit

Permalink
chore: update no matched cmpd and serviceVersion msg (#8701)
Browse files Browse the repository at this point in the history
  • Loading branch information
wangyelei authored Dec 25, 2024
1 parent fbc7188 commit 11d1caf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/apps/componentversion_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,7 @@ func resolveCompDefinitionNServiceVersion(ctx context.Context, cli client.Reader
// component definitions that support the service version
compatibleCompDefs := serviceVersionToCompDefs[serviceVersion]
if len(compatibleCompDefs) == 0 {
return compDef, serviceVersion, fmt.Errorf("no matched component definition found: %s", compDefName)
return compDef, serviceVersion, fmt.Errorf(`no matched component definition found with componentDef "%s" and serviceVersion "%s"`, compDefName, serviceVersion)
}

// choose the latest one
Expand Down

0 comments on commit 11d1caf

Please sign in to comment.