Skip to content

Commit

Permalink
[Bug]Fix jar library with task dependencies can be successfully delet…
Browse files Browse the repository at this point in the history
…ed (#4124)

Co-authored-by: Zhiwei Shi <[email protected]>
  • Loading branch information
Happy-shi and Zhiwei Shi authored Nov 1, 2024
1 parent ef78fdd commit 3a44fe0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ private List<FlinkApplication> getResourceApplicationsById(Resource resource) {
for (FlinkSql flinkSql : flinkSqls) {
String sqlTeamResource = flinkSql.getTeamResource();
if (sqlTeamResource != null
&& sqlTeamResource.contains(String.valueOf(resource.getTeamId()))) {
&& sqlTeamResource.contains(String.valueOf(resource.getId()))) {
FlinkApplication app = applicationMap.get(flinkSql.getAppId());
if (!dependApplications.contains(app)) {
dependApplications.add(applicationMap.get(flinkSql.getAppId()));
Expand Down

0 comments on commit 3a44fe0

Please sign in to comment.