support remote-dev format for cluster ID (#3637)

This commit is contained in:
Sorawis Nilparuk (Bo) authored and GitHub committed 2023-11-01 16:41:27 -04:00
1 parent 6f26bcd22c
commit 45eb3b7b51
1 file changed
+2
+2
View File
@@ -387,6 +387,8 @@ func (c *Command) Run(args []string) int {
}
if strings.HasPrefix(clusterId, "int-") {
clusterId = strings.TrimPrefix(clusterId, "int-")
} else if strings.HasPrefix(clusterId, "dev-") {
clusterId = strings.TrimPrefix(clusterId, "dev-")
}
_, err = uuid.ParseUUID(clusterId)
if err != nil {