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

pull/3734/head^2
Sorawis Nilparuk (Bo) 3 years ago committed by GitHub
parent 6f26bcd22c
commit 45eb3b7b51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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 {

Loading…
Cancel
Save