Skip to content

Commit

Permalink
--signoff
Browse files Browse the repository at this point in the history
  • Loading branch information
mayzhang2000 committed Aug 7, 2023
1 parent d026483 commit b7cf4ec
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions pkg/mocks/factory.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package mocks

import (
"fmt"
"github.com/argoproj/notifications-engine/pkg/api"
)
import "github.com/argoproj/notifications-engine/pkg/api"

type FakeFactory struct {
Api api.API
Expand All @@ -21,5 +18,5 @@ func (f *FakeFactory) GetAPIsFromNamespace(namespace string) (map[string]api.API
}

func (f *FakeFactory) GetAPIsFromFactory(resource interface{}) (map[string]api.API, error) {
return nil, fmt.Errorf("not implemented")
return nil, f.Err
}

0 comments on commit b7cf4ec

Please sign in to comment.