You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
defaultTestAllInfoMsg:=fmt.Sprintf(`only containers with the annotation "%s/${my-container}=true" will be parsed`, api.EnableAnnotationKey)
53
+
ifopts.DefaultTestAll {
54
+
defaultTestAllInfoMsg=fmt.Sprintf(`all containers will be tested, unless they have the annotation "%s/${my-container}=false"`, api.EnableAnnotationKey)
returnfmt.Errorf("failed to setup image registry clients: %s", err)
66
111
}
67
112
68
-
deferfunc() {
69
-
iferr:=metricsServer.Shutdown(); err!=nil {
70
-
log.Error(err)
71
-
}
72
-
}()
113
+
c:=controller.NewPodReconciler(opts.CacheTimeout,
114
+
metricsServer,
115
+
client,
116
+
mgr.GetClient(),
117
+
log,
118
+
opts.DefaultTestAll,
119
+
)
73
120
74
-
defaultTestAllInfoMsg:=fmt.Sprintf(`only containers with the annotation "%s/${my-container}=true" will be parsed`, api.EnableAnnotationKey)
75
-
ifopts.DefaultTestAll {
76
-
defaultTestAllInfoMsg=fmt.Sprintf(`all containers will be tested, unless they have the annotation "%s/${my-container}=false"`, api.EnableAnnotationKey)
0 commit comments