-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Remove unused protocol version envvar #21495
Remove unused protocol version envvar #21495
Conversation
@@ -312,12 +310,12 @@ public AirbyteVersion getAirbyteVersion() { | |||
|
|||
@Override | |||
public Version getAirbyteProtocolVersionMax() { | |||
return new Version(getEnvOrDefault(AIRBYTE_PROTOCOL_VERSION_MAX, "0.3.0")); | |||
return new Version("0.3.0"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Micronaut is expecting an envvar in the server it default to those values. But I think that we should check is other micronaut application.yml also specify a default value and don't rely on the return of this value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When we get rid of EnvConfigs
we should directly use the values from the micronaut config. Not sure where we are on this, this is a quick fix to remove logging noise.
Airbyte Code Coverage
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What
AIRBYTE_PROTOCOL_VERSION_MAX
andAIRBYTE_PROTOCOL_VERSION_MIN
environment variables.How
Replace the var lookups by the hardcoded default directly to remove noise from the logs.