Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
Remove redundant function types
Browse files Browse the repository at this point in the history
  • Loading branch information
squaremo committed Dec 18, 2017
1 parent 521cb0d commit 32ad780
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions registry/mock/mock.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,9 @@ import (
"github.com/weaveworks/flux/registry"
)

type ManifestFunc func(ref string) (image.Info, error)
type TagsFunc func() ([]string, error)

type Client struct {
ManifestFn ManifestFunc
TagsFn TagsFunc
ManifestFn func(ref string) (image.Info, error)
TagsFn func() ([]string, error)
}

func (m *Client) Manifest(ctx context.Context, tag string) (image.Info, error) {
Expand Down

0 comments on commit 32ad780

Please sign in to comment.