Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reuse CONTAINER_NAME constant #976

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

igor-alexandrov
Copy link
Contributor

This PR reuses existing CONTAINER_NAME constant value instead of duplicating container name in a string.

@nickhammond
Copy link
Contributor

Should we freeze the existing constant(CONTAINER_NAME) too?

@igor-alexandrov
Copy link
Contributor Author

I followed the conventions for other constants in the code base, they are not frozen. Also, starting from Ruby 3.4 strings will be frozen by default, so I don't think this is needed.

@nickhammond
Copy link
Contributor

@igor-alexandrov oh that’s lovely, good to know.

@igor-alexandrov igor-alexandrov force-pushed the container-name-constant branch from 92c4a5e to 9d08d00 Compare October 9, 2024 08:42
@igor-alexandrov
Copy link
Contributor Author

This has been rebased.

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