Skip to content

Fix S3 driver loglevel param#4617

Merged
milosgajdos merged 1 commit into
distribution:mainfrom
milosgajdos:fix-s3-driver-params
Aug 11, 2025
Merged

Fix S3 driver loglevel param#4617
milosgajdos merged 1 commit into
distribution:mainfrom
milosgajdos:fix-s3-driver-params

Conversation

@milosgajdos

Copy link
Copy Markdown
Member

Unfortunately YAML struck us hard in this one.
It interprets "off" as a truthy value so setting loglevel to off sets it to false.

This commit makes sure we set the loglevel to off if the param is marshalled into false and if it's not a string.

Fixes #4616

Unfortunately YAML struck us hard in this one.
It interprets "off" as a truthy value so setting loglevel to off sets it
to false.

This commit makes sure we set the loglevel to off if the param is
marshalled into false and if it's not a string.

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

@wy65701436 wy65701436 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@milosgajdos milosgajdos merged commit 7d74ee7 into distribution:main Aug 11, 2025
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.0.0-rc.4] Unable to disable s3 loglevel via REGISTRY_STORAGE_S3_LOGLEVEL

2 participants