Merge pull request #24234 from goltermann/vetclean

Automatic merge from submit-queue

Enable go vet.
This commit is contained in:
k8s-merge-robot 2016-04-20 14:50:37 -07:00
commit fe6b28d4bf
1 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ func WaitForVolumeStatus(t *testing.T, os *OpenStack, volumeName string, status
time.Sleep(1 * time.Second)
if timeout >= 0 && time.Now().Second()-start >= timeout {
t.Logf("Volume (%s) status did not change to %s after %s seconds\n",
t.Logf("Volume (%s) status did not change to %s after %v seconds\n",
volumeName,
status,
timeout)
@ -51,7 +51,7 @@ func WaitForVolumeStatus(t *testing.T, os *OpenStack, volumeName string, status
t.Fatalf("Cannot get existing Cinder volume (%s): %v", volumeName, err)
}
if getVol.Status == status {
t.Logf("Volume (%s) status changed to %s after %s seconds\n",
t.Logf("Volume (%s) status changed to %s after %v seconds\n",
volumeName,
status,
timeout)