Skip to content

fix: make container name accessor infallible - #860

Merged
adwk67 merged 4 commits into
mainfrom
fix/deref-container-names
Sep 10, 2026
Merged

fix: make container name accessor infallible#860
adwk67 merged 4 commits into
mainfrom
fix/deref-container-names

Conversation

@adwk67

@adwk67 adwk67 commented Sep 10, 2026

Copy link
Copy Markdown
Member

Description

Part of stackabletech/issues#883

Definition of Done Checklist

  • Not all of these items are applicable to all PRs, the author should update this template to only leave the boxes in that are relevant
  • Please make sure all these things are done and tick the boxes

Author

  • Changes are OpenShift compatible
  • CRD changes approved
  • CRD documentation for all fields, following the style guide.
  • Helm chart can be installed and deployed operator works
  • Integration tests passed (for non trivial changes)
  • Changes need to be "offline" compatible
  • Links to generated (nightly) docs added
  • Release note snippet added

Reviewer

  • Code contains useful comments
  • (Integration-)Test cases added
  • Changelog updated
  • Cargo.toml only contains references to git tags (not specific commits or branches)

Acceptance

  • Feature Tracker has been updated
  • Proper release label has been added
  • Links to generated (nightly) docs added
  • Release note snippet added
  • Add type/deprecation label & add to the deprecation schedule
  • Add type/experimental label & add to the experimental features tracker

@adwk67 adwk67 changed the title add constants for container names and deref impl/tests fix: make container name accessor infallible Sep 10, 2026
@adwk67
adwk67 marked this pull request as ready for review September 10, 2026 12:44
@siegfriedweber
siegfriedweber self-requested a review September 10, 2026 13:07
@adwk67 adwk67 self-assigned this Sep 10, 2026
siegfriedweber
siegfriedweber previously approved these changes Sep 10, 2026

@siegfriedweber siegfriedweber left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

Only one nit:

The METRICS_CONTAINER_NAME is handled differently from the other container names. It is not part of the Container enum, presumably because it should not be exposed in the log configuration. Can we just add a comment like "the metrics container has no logging configuration, so it is not a Container variant and carries its name directly"?

@adwk67

adwk67 commented Sep 10, 2026

Copy link
Copy Markdown
Member Author

LGTM

Only one nit:

The METRICS_CONTAINER_NAME is handled differently from the other container names. It is not part of the Container enum, presumably because it should not be exposed in the log configuration. Can we just add a comment like "the metrics container has no logging configuration, so it is not a Container variant and carries its name directly"?

ec70a1f

@adwk67
adwk67 enabled auto-merge September 10, 2026 14:07
@adwk67
adwk67 added this pull request to the merge queue Sep 10, 2026
Merged via the queue into main with commit 3cffa53 Sep 10, 2026
13 checks passed
@adwk67
adwk67 deleted the fix/deref-container-names branch September 10, 2026 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants