Skip to content

Commit 1547440

Browse files
committed
Fixing error message
1 parent 7416f11 commit 1547440

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1beta1/conversion.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func Convert_v1beta1_CloudStackCluster_To_v1beta2_CloudStackCluster(in *CloudSta
5151
//nolint:golint,revive,stylecheck
5252
func Convert_v1beta2_CloudStackCluster_To_v1beta1_CloudStackCluster(in *v1beta2.CloudStackCluster, out *CloudStackCluster, scope conv.Scope) error {
5353
if len(in.Spec.FailureDomains) < 1 {
54-
return fmt.Errorf("v1beta2 to v1beta1 conversion not supported when ")
54+
return fmt.Errorf("v1beta2 to v1beta1 conversion not supported when < 1 failure domain is provided. Input CloudStackCluster spec %s", in.Spec)
5555
}
5656
out.ObjectMeta = in.ObjectMeta
5757
out.Spec = CloudStackClusterSpec{

0 commit comments

Comments
 (0)