mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 05:27:21 +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{})
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user