diff --git a/internal/registry/credentialrequest/rest.go b/internal/registry/credentialrequest/rest.go index 4a5d1e0b..b8b89ef7 100644 --- a/internal/registry/credentialrequest/rest.go +++ b/internal/registry/credentialrequest/rest.go @@ -1,4 +1,4 @@ -// Copyright 2020-2021 the Pinniped contributors. All Rights Reserved. +// Copyright 2020-2022 the Pinniped contributors. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 // Package credentialrequest provides REST functionality for the CredentialRequest resource. @@ -59,6 +59,8 @@ func (*REST) New() runtime.Object { return &loginapi.TokenCredentialRequest{} } +func (*REST) Destroy() {} + func (*REST) NewList() runtime.Object { return &loginapi.TokenCredentialRequestList{} } diff --git a/internal/registry/whoamirequest/rest.go b/internal/registry/whoamirequest/rest.go index d7a54e3e..5468c3c2 100644 --- a/internal/registry/whoamirequest/rest.go +++ b/internal/registry/whoamirequest/rest.go @@ -1,4 +1,4 @@ -// Copyright 2021 the Pinniped contributors. All Rights Reserved. +// Copyright 2021-2022 the Pinniped contributors. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 package whoamirequest @@ -45,6 +45,8 @@ func (*REST) New() runtime.Object { return &identityapi.WhoAmIRequest{} } +func (*REST) Destroy() {} + func (*REST) NewList() runtime.Object { return &identityapi.WhoAmIRequestList{} }