Skip to content

[Improvement-18580][api] Fix typo in DataSourceServiceImpl log message - #18581

Open
kittimzhe wants to merge 2 commits into
apache:devfrom
kittimzhe:fix-log-typo
Open

[Improvement-18580][api] Fix typo in DataSourceServiceImpl log message#18581
kittimzhe wants to merge 2 commits into
apache:devfrom
kittimzhe:fix-log-typo

Conversation

@kittimzhe

Copy link
Copy Markdown
Contributor

Was this PR generated or assisted by AI?

YES. The typo was identified with the help of an automated scan; the change itself is a one-word fix reviewed by the contributor.

Purpose of the pull request

Fixes #18580 — fix the "Cant not" typo in a log message of DataSourceServiceImpl.

Brief change log

  • DataSourceServiceImpl.java: Cant not get the schemaCannot get the schema

Verify this pull request

This pull request is code cleanup without any test coverage.

(Log message only, no behavioral change; verified by diff inspection.)

schema = metaData.getConnection().getSchema();
} catch (SQLException e) {
log.error("Cant not get the schema, datasourceId:{}.", datasourceId, e);
log.error("Cannot get the schema, datasourceId:{}.", datasourceId, e);

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.

Suggested change
log.error("Cannot get the schema, datasourceId:{}.", datasourceId, e);
log.error("Can not get the schema, datasourceId:{}.", datasourceId, e);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done, thanks for the suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Improvement] Typo in DataSourceServiceImpl log message: "Cant not get the schema"

2 participants