Skip to content

Conversation

milosgajdos
Copy link
Member

#4146 introduced a new rewrite storage middleware but somehow missed updating the init logging message.

This PR fixes that.

distribution#4146 introduced a new
rewrite storage middleware but somehow missed to update the init logging
message. This commit fixes that.

Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

logrus.Errorf("failed to register redirect storage middleware: %v", err)
logrus.Errorf("failed to register rewrite storage middleware: %v", err)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unrelated to this PR; not sure what we did in the past; even curious if failing to register things should be a hard failure (panic / fatalf)

@milosgajdos milosgajdos merged commit f0826f5 into distribution:main Aug 20, 2024
16 checks passed
@milosgajdos milosgajdos deleted the fix-typos branch August 20, 2024 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants