support remote-dev format for cluster ID (#3637)
This commit is contained in:
1 parent
6f26bcd22c
commit
45eb3b7b51
1 file changed
+2
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user