Merge pull request #86178 from misterikkit/test-log-fix

fix log format string
This commit is contained in:
Kubernetes Prow Robot 2019-12-11 19:40:46 -08:00 committed by GitHub
commit 6dbd521cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -227,10 +227,10 @@ func WaitForSnapshotReady(c dynamic.Interface, ns string, snapshotName string, P
}
value := status.(map[string]interface{})
if value["readyToUse"] == true {
framework.Logf("VolumeSnapshot %s found and is ready", snapshotName, time.Since(start))
framework.Logf("VolumeSnapshot %s found and is ready after %v", snapshotName, time.Since(start))
return nil
} else if value["ready"] == true {
framework.Logf("VolumeSnapshot %s found and is ready", snapshotName, time.Since(start))
framework.Logf("VolumeSnapshot %s found and is ready after %v", snapshotName, time.Since(start))
return nil
} else {
framework.Logf("VolumeSnapshot %s found but is not ready.", snapshotName)