Skip to content

Commit dd2c5a8

Browse files
committed
fix: cluster id may not include slashes
1 parent 0b44530 commit dd2c5a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/v1alpha1/metalstackcluster_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,5 +142,5 @@ func (c *MetalStackCluster) SetConditions(conditions clusterv1.Conditions) {
142142
}
143143

144144
func (c *MetalStackCluster) GetClusterID() string {
145-
return fmt.Sprintf("%s/%s", c.GetNamespace(), c.GetName())
145+
return fmt.Sprintf("%s--%s", c.GetNamespace(), c.GetName())
146146
}

0 commit comments

Comments
 (0)