Skip to content

Commit

Permalink
fix integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
sdojjy committed Jan 9, 2023
1 parent 7bafb07 commit 177af69
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions pkg/api/v1/changefeed.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ type ChangefeedsGetter interface {
type ChangefeedInterface interface {
Get(ctx context.Context, name string) (*model.ChangefeedDetail, error)
List(ctx context.Context, state string) (*[]model.ChangefeedCommonInfo, error)
Delete(ctx context.Context, name string) error
Pause(ctx context.Context, name string) error
Resume(ctx context.Context, name string) error
}
Expand Down Expand Up @@ -88,11 +87,3 @@ func (c *changefeeds) Resume(ctx context.Context, name string) error {
WithURI(u).
Do(ctx).Error()
}

// Delete delete the changefeed
func (c *changefeeds) Delete(ctx context.Context, name string) error {
u := fmt.Sprintf("changefeeds/%s", name)
return c.client.Delete().
WithURI(u).
Do(ctx).Error()
}

0 comments on commit 177af69

Please sign in to comment.