We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b4bab6d commit c2b5beeCopy full SHA for c2b5bee
1 file changed
serverscom/utils.go
@@ -44,7 +44,7 @@ func parseProviderID(providerID string) (string, string, error) {
44
return "", "", fmt.Errorf("error splitting providerID: %s", providerID)
45
}
46
47
- return strings.Replace(matches[1], "_", "-", 0), matches[2], nil
+ return strings.ReplaceAll(matches[1], "_", "-"), matches[2], nil
48
49
50
func collectCloudInstanceAddresses(cloudInstance *cli.CloudComputingInstance) []v1.NodeAddress {
0 commit comments