diff --git a/registry/client.go b/registry/client.go index 6770d7188..03e6f7c96 100644 --- a/registry/client.go +++ b/registry/client.go @@ -65,10 +65,6 @@ type Client struct { // services is a required *disco.Disco, which may have services and // credentials pre-loaded. services *disco.Disco - - // retry is the number of retries the client will attempt for each request - // if it runs into a transient failure with the remote registry. - retry int } // NewClient returns a new initialized registry client. diff --git a/registry/response/pagination_test.go b/registry/response/pagination_test.go index be862abbd..09c78e6c2 100644 --- a/registry/response/pagination_test.go +++ b/registry/response/pagination_test.go @@ -5,10 +5,6 @@ import ( "testing" ) -func intPtr(i int) *int { - return &i -} - func prettyJSON(o interface{}) (string, error) { bytes, err := json.MarshalIndent(o, "", "\t") if err != nil {