Skip to content

Commit

Permalink
chore: pkg import only once
Browse files Browse the repository at this point in the history
Signed-off-by: guoguangwu <[email protected]>
  • Loading branch information
testwill committed Oct 18, 2023
1 parent b71134b commit 56c7407
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions plugin/executor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ import (

"github.com/stretchr/testify/assert"

"github.com/distribworks/dkron/v3/plugin/types"
dktypes "github.com/distribworks/dkron/v3/plugin/types"
grpc "google.golang.org/grpc"
)

type MockedExecutor struct{}

func (m *MockedExecutor) Execute(ctx context.Context, in *types.ExecuteRequest, opts ...grpc.CallOption) (*types.ExecuteResponse, error) {
func (m *MockedExecutor) Execute(ctx context.Context, in *dktypes.ExecuteRequest, opts ...grpc.CallOption) (*dktypes.ExecuteResponse, error) {
resp := &dktypes.ExecuteResponse{}
return resp, nil
}
Expand Down

0 comments on commit 56c7407

Please sign in to comment.