mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 15:58:37 +00:00
Use FormatInt instead of string for external id.
This commit is contained in:
parent
ca265c5705
commit
3c460831ca
@ -333,7 +333,7 @@ func (gce *GCECloud) ExternalID(instance string) (string, error) {
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
return string(inst.Id), nil
|
||||
return strconv.FormatUint(inst.Id, 10), nil
|
||||
}
|
||||
|
||||
// fqdnSuffix is hacky function to compute the delta between hostame and hostname -f.
|
||||
|
Loading…
Reference in New Issue
Block a user