Skip to content

Commit

Permalink
minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfboys committed Jul 26, 2023
1 parent 7cc6eba commit ddb9244
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ private boolean existsResourceByConnectorIds(List<String> connectorIds) {
public List<FlinkConnectorResource> getConnectorResource(Resource resource) throws Exception {

ApiAlertException.throwIfFalse(
!ResourceType.CONNECTOR.equals(resource.getResourceType()),
ResourceType.CONNECTOR.equals(resource.getResourceType()),
"getConnectorId method error, resource not flink connector.");

Dependency dependency = Dependency.toDependency(resource.getResource());
Expand Down

0 comments on commit ddb9244

Please sign in to comment.