Use FormatInt instead of string for external id.

This commit is contained in:
Deyuan Deng 2015-03-06 13:45:52 -05:00
parent ca265c5705
commit 3c460831ca

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.