mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Merge pull request #86178 from misterikkit/test-log-fix
fix log format string
This commit is contained in:
commit
6dbd521cfa
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user