mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 01:40:07 +00:00
Merge pull request #5137 from ddysher/gce-externalid
Use FormatInt instead of string for external id.
This commit is contained in:
commit
8dd61e25fa
@ -333,7 +333,7 @@ func (gce *GCECloud) ExternalID(instance string) (string, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
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.
|
// fqdnSuffix is hacky function to compute the delta between hostame and hostname -f.
|
||||||
|
Loading…
Reference in New Issue
Block a user