Skip to content

Commit 379c4c5

Browse files
committed
fix(nodeadm): clarify missing cluster ID error for outposts
1 parent fbf7826 commit 379c4c5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodeadm/internal/api/validation.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func ValidateNodeConfig(cfg *NodeConfig) error {
1717
}
1818
if enabled := cfg.Spec.Cluster.EnableOutpost; enabled != nil && *enabled {
1919
if cfg.Spec.Cluster.ID == "" {
20-
return fmt.Errorf("CIDR is missing in cluster configuration")
20+
return fmt.Errorf("cluster ID must be provided for outposts")
2121
}
2222
}
2323
return nil

0 commit comments

Comments
 (0)