Skip to content

Commit

Permalink
support remote-dev format for cluster ID
Browse files Browse the repository at this point in the history
  • Loading branch information
bosorawis committed Oct 27, 2023
1 parent c93edfb commit 9bb046c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/cmd/commands/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 9bb046c

Please sign in to comment.