fix log format string

This commit is contained in:
Jonathan Basseri 2019-12-11 13:27:13 -08:00
parent 343020101c
commit dc17fc4283

View File

@ -227,10 +227,10 @@ func WaitForSnapshotReady(c dynamic.Interface, ns string, snapshotName string, P
} }
value := status.(map[string]interface{}) value := status.(map[string]interface{})
if value["readyToUse"] == true { 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 return nil
} else if value["ready"] == true { } 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 return nil
} else { } else {
framework.Logf("VolumeSnapshot %s found but is not ready.", snapshotName) framework.Logf("VolumeSnapshot %s found but is not ready.", snapshotName)