Skip to content

Commit

Permalink
Fixing the linter error Linter v1.63.1
Browse files Browse the repository at this point in the history
Signed-off-by: Feny Mehta <fbm3307@gmail.com>
  • Loading branch information
fbm3307 committed Jan 7, 2025
1 parent 34f3205 commit 580eff8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/status/componentconditions.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func ValidateComponentConditionReady(conditions ...toolchainv1alpha1.Condition)
if !found {
return fmt.Errorf("a ready condition was not found")
} else if c.Status != corev1.ConditionTrue {
return fmt.Errorf(c.Message) // return an error with the message from the condition
return fmt.Errorf("%s", c.Message) // return an error with the message from the condition
}

return nil
Expand Down

0 comments on commit 580eff8

Please sign in to comment.