Merge pull request #5137 from ddysher/gce-externalid

Use FormatInt instead of string for external id.
This commit is contained in:
Brendan Burns 2015-03-09 13:47:24 -07:00
commit 8dd61e25fa

View File

@ -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.