@@ -55,7 +55,7 @@ func waitForWorkloads(ctx context.Context, timeout time.Duration, workloads map[
55
55
}
56
56
57
57
func waitForDaemonSet (ctx context.Context , client * appsclientv1.AppsV1Client , timeout time.Duration , namespace , name string ) error {
58
- klog .Infof ("Waiting for daemonset/%s in %s" , name , namespace )
58
+ klog .Infof ("Waiting %v for daemonset/%s in %s" , timeout , name , namespace )
59
59
err := wait .PollUntilContextTimeout (ctx , 10 * time .Second , timeout , true , func (ctx context.Context ) (done bool , err error ) {
60
60
ds , err := client .DaemonSets (namespace ).Get (ctx , name , v1.GetOptions {})
61
61
if err != nil {
@@ -91,7 +91,7 @@ func waitForDaemonSet(ctx context.Context, client *appsclientv1.AppsV1Client, ti
91
91
}
92
92
93
93
func waitForDeployment (ctx context.Context , client * appsclientv1.AppsV1Client , timeout time.Duration , namespace , name string ) error {
94
- klog .Infof ("Waiting for deployment/%s in %s" , name , namespace )
94
+ klog .Infof ("Waiting %v for deployment/%s in %s" , timeout , name , namespace )
95
95
err := wait .PollUntilContextTimeout (ctx , 10 * time .Second , timeout , true , func (ctx context.Context ) (done bool , err error ) {
96
96
deployment , err := client .Deployments (namespace ).Get (ctx , name , v1.GetOptions {})
97
97
if err != nil {
@@ -134,7 +134,7 @@ func waitForDeployment(ctx context.Context, client *appsclientv1.AppsV1Client, t
134
134
}
135
135
136
136
func waitForStatefulSet (ctx context.Context , client * appsclientv1.AppsV1Client , timeout time.Duration , namespace , name string ) error {
137
- klog .Infof ("Waiting for statefulset/%s in %s" , name , namespace )
137
+ klog .Infof ("Waiting %v for statefulset/%s in %s" , timeout , name , namespace )
138
138
err := wait .PollUntilContextTimeout (ctx , 10 * time .Second , timeout , true , func (ctx context.Context ) (done bool , err error ) {
139
139
sts , err := client .StatefulSets (namespace ).Get (ctx , name , v1.GetOptions {})
140
140
if err != nil {
0 commit comments