File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -81,14 +81,14 @@ func (w *Watcher) Watch(ctx context.Context) error {
81
81
}
82
82
resourceGroups := maps .Values (uniqueResourceGroups )
83
83
84
- if err = w .bootstrap (ctx , resourceGroups ); err != nil {
85
- return fmt .Errorf ("failed to bootstrap : %w" , err )
84
+ if err = w .init (ctx , resourceGroups ); err != nil {
85
+ return fmt .Errorf ("failed to initialize : %w" , err )
86
86
}
87
87
return w .watch (ctx , resourceGroups )
88
88
}
89
89
90
- func (w * Watcher ) bootstrap (ctx context.Context , groups []k8s.ResourceType ) error {
91
- slog .Info ("bootstrapping " )
90
+ func (w * Watcher ) init (ctx context.Context , groups []k8s.ResourceType ) error {
91
+ slog .Info ("initializing " )
92
92
for _ , group := range groups {
93
93
resources , err := w .k8sClient .GetRawResources (ctx , group )
94
94
if err != nil {
You can’t perform that action at this time.
0 commit comments