From 91eda593ef4afd679c54a1a3cfa3761aeb9f56dd Mon Sep 17 00:00:00 2001 From: Milos Gajdos Date: Sun, 21 Jul 2024 10:12:15 +0100 Subject: [PATCH] chore: fix typos returned in some errors Signed-off-by: Milos Gajdos --- registry/auth/token/accesscontroller.go | 2 +- registry/storage/driver/middleware/redirect/middleware.go | 2 +- registry/storage/driver/middleware/rewrite/middleware.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/registry/auth/token/accesscontroller.go b/registry/auth/token/accesscontroller.go index e6dbaf48..3d6b9c2c 100644 --- a/registry/auth/token/accesscontroller.go +++ b/registry/auth/token/accesscontroller.go @@ -21,7 +21,7 @@ import ( // init handles registering the token auth backend. func init() { if err := auth.Register("token", auth.InitFunc(newAccessController)); err != nil { - logrus.Errorf("tailed to register token auth: %v", err) + logrus.Errorf("failed to register token auth: %v", err) } } diff --git a/registry/storage/driver/middleware/redirect/middleware.go b/registry/storage/driver/middleware/redirect/middleware.go index 08f37e6e..7dc28f76 100644 --- a/registry/storage/driver/middleware/redirect/middleware.go +++ b/registry/storage/driver/middleware/redirect/middleware.go @@ -14,7 +14,7 @@ import ( func init() { if err := storagemiddleware.Register("redirect", newRedirectStorageMiddleware); err != nil { - logrus.Errorf("tailed to register redirect storage middleware: %v", err) + logrus.Errorf("failed to register redirect storage middleware: %v", err) } } diff --git a/registry/storage/driver/middleware/rewrite/middleware.go b/registry/storage/driver/middleware/rewrite/middleware.go index 7baef518..5e6dc3dd 100644 --- a/registry/storage/driver/middleware/rewrite/middleware.go +++ b/registry/storage/driver/middleware/rewrite/middleware.go @@ -14,7 +14,7 @@ import ( func init() { if err := storagemiddleware.Register("rewrite", newRewriteStorageMiddleware); err != nil { - logrus.Errorf("tailed to register redirect storage middleware: %v", err) + logrus.Errorf("failed to register redirect storage middleware: %v", err) } }