diff --git a/cmd/command/up/up.go b/cmd/command/up/up.go index 1400aa5c..22ea4b0e 100644 --- a/cmd/command/up/up.go +++ b/cmd/command/up/up.go @@ -174,7 +174,7 @@ func getCluster(cd *cd.Plural) (id string, err error) { } for _, cluster := range clusters { - if *cluster.Node.Handle == "mgmt" { + if lo.FromPtr(cluster.Node.Handle) == "mgmt" { return cluster.Node.ID, nil } }