Skip to content

Commit

Permalink
fix: add secret informer.
Browse files Browse the repository at this point in the history
Signed-off-by: shuangkun <[email protected]>
  • Loading branch information
shuangkun committed Nov 14, 2024
1 parent 17449cc commit 5d65f3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workflow/common/util_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,8 @@ type mockSecretStore struct {
getByKey func(key string) (interface{}, bool, error)
}

func (cs mockSecretStore) GetByKey(key string) (interface{}, bool, error) {
return cs.getByKey(key)
func (ss mockSecretStore) GetByKey(key string) (interface{}, bool, error) {
return ss.getByKey(key)
}

func TestOverridableTemplateInputParamsValue(t *testing.T) {
Expand Down
1 change: 1 addition & 0 deletions workflow/controller/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ func newController(options ...interface{}) (context.CancelFunc, *WorkflowControl
_ = wfc.addWorkflowInformerHandlers(ctx)
wfc.podInformer = wfc.newPodInformer(ctx)
wfc.configMapInformer = wfc.newConfigMapInformer()
wfc.secretInformer = wfc.newSecretInformer()
wfc.createSynchronizationManager(ctx)
_ = wfc.initManagers(ctx)

Expand Down

0 comments on commit 5d65f3c

Please sign in to comment.