mirror of https://github.com/k3s-io/k3s
storage: printf cleanups
go test in 1.11 now performs some validation of format strings, so this address the issues highlighted by go test, allowing go test to pass with 1.11. Fixes pertaining to storage.pull/58/head
parent
af92d13de2
commit
1a082a48e8
|
@ -188,7 +188,7 @@ func getMaxDataDiskCount(instanceType string, sizeList *[]compute.VirtualMachine
|
|||
continue
|
||||
}
|
||||
if strings.ToUpper(*size.Name) == vmsize {
|
||||
glog.V(2).Infof("got a matching size in getMaxDataDiskCount, Name: %s, MaxDataDiskCount: %s", *size.Name, *size.MaxDataDiskCount)
|
||||
glog.V(2).Infof("got a matching size in getMaxDataDiskCount, Name: %s, MaxDataDiskCount: %d", *size.Name, *size.MaxDataDiskCount)
|
||||
return int64(*size.MaxDataDiskCount)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue