mantle: clean up platform/api/gcloud/compute
This cleans up platform/api/gcloud/compute.go.
Fixes part of
@@ -26,7 +26,9 @@ import (
func (a *API) vmname() string {
b := make([]byte, 10)
- rand.Read(b)
+ if _, err := rand.Read(b); err != nil {
+ plog.Error(err)
+ }
return fmt.Sprintf("%s-%x", a.options.BaseName, b)
}
