diff --git a/go.mod b/go.mod index ba539ae2..87db198c 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/go-ldap/ldap/v3 v3.4.6 github.com/notaryproject/notation-core-go v1.0.1 - github.com/notaryproject/notation-plugin-framework-go v0.0.0-20240103032027-c077edacd1ef + github.com/notaryproject/notation-plugin-framework-go v0.0.0-20240116162504-e3d2a30026df github.com/opencontainers/go-digest v1.0.0 github.com/opencontainers/image-spec v1.1.0-rc5 github.com/veraison/go-cose v1.1.0 diff --git a/go.sum b/go.sum index e5de1b6b..767eb20b 100644 --- a/go.sum +++ b/go.sum @@ -19,6 +19,8 @@ github.com/notaryproject/notation-core-go v1.0.1 h1:01doxjDERbd0vocLQrlJdusKrRLN github.com/notaryproject/notation-core-go v1.0.1/go.mod h1:rayl8WlKgS4YxOZgDO0iGGB4Ef515ZFZUFaZDmsPXgE= github.com/notaryproject/notation-plugin-framework-go v0.0.0-20240103032027-c077edacd1ef h1:49DEBh9FgHTQDcezSJShAw4r3KBa05EE/vY8pjw5HlU= github.com/notaryproject/notation-plugin-framework-go v0.0.0-20240103032027-c077edacd1ef/go.mod h1:RqWSrTOtEASCrGOEffq0n8pSg2KOgKYiWqFWczRSics= +github.com/notaryproject/notation-plugin-framework-go v0.0.0-20240116162504-e3d2a30026df h1:1jAhJhnjCtFkxxdYtJiPM3CVVc7WwFumQPQpWPqjCJ8= +github.com/notaryproject/notation-plugin-framework-go v0.0.0-20240116162504-e3d2a30026df/go.mod h1:RqWSrTOtEASCrGOEffq0n8pSg2KOgKYiWqFWczRSics= github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U= github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.1.0-rc5 h1:Ygwkfw9bpDvs+c9E34SdgGOj41dX/cbdlwvlWt0pnFI= diff --git a/plugin/proto/metadata_test.go b/plugin/proto/metadata_test.go index 6eef261a..85d75134 100644 --- a/plugin/proto/metadata_test.go +++ b/plugin/proto/metadata_test.go @@ -34,7 +34,7 @@ func TestGetMetadataResponse_HasCapability(t *testing.T) { } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { - if got := HasCapability(tt.m, tt.args.capability); got != tt.want { + if got := tt.m.HasCapability(tt.args.capability); got != tt.want { t.Errorf("GetMetadataResponse.HasCapability() = %v, want %v", got, tt.want) } })