Skip to content

Commit

Permalink
fix datajob resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
sgomezvillamor committed Jan 9, 2025
1 parent e07cb7a commit 21e00bc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2383,8 +2383,8 @@ private void configureDataJobResolvers(final RuntimeWiring.Builder builder) {
containerType,
(env) -> {
final DataJob dataJob = env.getSource();
return dataJob.getDataPlatformInstance() != null
? dataJob.getDataPlatformInstance().getUrn()
return dataJob.getContainer() != null
? dataJob.getContainer().getUrn()
: null;
}))
.dataFetcher("parentContainers", new ParentContainersResolver(entityClient))
Expand Down

0 comments on commit 21e00bc

Please sign in to comment.