Skip to content

Commit 1d42eb5

Browse files
committed
shorten the uuids
1 parent cdb90ec commit 1d42eb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cluster-autoscaler/cloudprovider/kamatera/kamatera_api_client_rest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,5 +267,5 @@ func kamateraServerName(namePrefix string) string {
267267
if len(namePrefix) > 0 {
268268
namePrefix = fmt.Sprintf("%s-", namePrefix)
269269
}
270-
return fmt.Sprintf("%s%s", namePrefix, strings.ReplaceAll(uuid.New().String(), "-", ""))
270+
return fmt.Sprintf("%s%s", namePrefix, strings.ReplaceAll(uuid.New().String()[:12], "-", ""))
271271
}

0 commit comments

Comments
 (0)