-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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 configRepository dependency from getStatus #20685
Conversation
} catch (final JsonValidationException | ConfigNotFoundException | IOException e) { | ||
final io.airbyte.api.client.model.generated.ConnectionIdRequestBody requestBody = | ||
new io.airbyte.api.client.model.generated.ConnectionIdRequestBody().connectionId(connectionId); | ||
final ConnectionRead connectionRead = connectionApi.getConnection(requestBody); |
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.
Consider extracting to a shared method as this code is now duplicated with the method above.
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.
Nit about extracting common code -- could be done in a follow-on PR.
69a02cf
to
279ece8
Compare
279ece8
to
abfd9d0
Compare
c48e096
to
ab36efb
Compare
abfd9d0
to
c363b91
Compare
ab36efb
to
eee6193
Compare
04483ff
to
33ce445
Compare
Remove configRepository dependency from getStatus in the configFetchActivity