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

Separate "environment" and "classpath" properties (for global things) #1784

Merged
merged 2 commits into from Aug 26, 2019

Conversation

bsideup
Copy link
Member

@bsideup bsideup commented Aug 25, 2019

Also removed the "transportType" check because Netty is no longer supported

@bsideup bsideup added this to the next milestone Aug 25, 2019
@bsideup bsideup requested a review from a team August 25, 2019 15:11
@@ -71,13 +82,18 @@ public String getPulsarImage() {
}

public boolean isDisableChecks() {
return Boolean.parseBoolean((String) properties.getOrDefault("checks.disable", "false"));
return Boolean.parseBoolean((String) environmentProperties.getOrDefault("checks.disable", "false"));
Copy link
Member Author

Choose a reason for hiding this comment

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

was never supposed to be disabled in classpath' file, but some users were misusing it and setting it "for everyone".

Copy link
Member

Choose a reason for hiding this comment

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

Seems sensible 👍

}

public String getDockerClientStrategyClassName() {
return (String) properties.get("docker.client.strategy");
return (String) environmentProperties.get("docker.client.strategy");
Copy link
Member Author

Choose a reason for hiding this comment

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

does not make sense to have it "for everyone" as well since it is strictly environment specific

@bsideup bsideup mentioned this pull request Aug 25, 2019
2 tasks
@bsideup bsideup merged commit 827c4c5 into master Aug 26, 2019
@delete-merged-branch delete-merged-branch bot deleted the separate_environment_and_classpath_properties branch August 26, 2019 08:45
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.

None yet

2 participants