diff --git a/pkg/cluster/cluster.go b/pkg/cluster/cluster.go index c200f27..6b2f536 100644 --- a/pkg/cluster/cluster.go +++ b/pkg/cluster/cluster.go @@ -380,7 +380,7 @@ func findID(name string) int { i := strings.LastIndex(name, "-") id, err := strconv.Atoi(name[i+1:]) if err != nil { - panic(err) + log.Fatalf("fail to extract valid ID from name (%s): %v", name, err) } return id }