From 3aa738b2463684f42f1751172b8742283d471faa Mon Sep 17 00:00:00 2001 From: Joel Kamp Date: Thu, 2 May 2024 15:57:11 -0500 Subject: [PATCH] Update pkg/tuf/example_registry_test.go Co-authored-by: David Dooling <141646279+whalelines@users.noreply.github.com> --- pkg/tuf/example_registry_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/tuf/example_registry_test.go b/pkg/tuf/example_registry_test.go index 02acfeb..0df14fd 100644 --- a/pkg/tuf/example_registry_test.go +++ b/pkg/tuf/example_registry_test.go @@ -18,8 +18,8 @@ func ExampleNewTufClient_registry() { tufOutputPath := filepath.Join(home, ".docker", "tuf") // using oci tuf metadata and targets - metadataURI := "regsitry-1.docker.io/docker/tuf-metadata:latest" - targetsURI := "regsitry-1.docker.io/docker/tuf-targets" + metadataURI := "registry-1.docker.io/docker/tuf-metadata:latest" + targetsURI := "registry-1.docker.io/docker/tuf-targets" registryClient, err := tuf.NewTufClient(embed.StagingRoot, tufOutputPath, metadataURI, targetsURI) if err != nil { panic(err)