mirror of https://github.com/apache/nifi.git
NIFI-4960: fix object setting. This closes #2531.
Signed-off-by: Mark Payne <markap14@hotmail.com>
This commit is contained in:
parent
49c7af03c1
commit
06cb354c5e
|
@ -182,8 +182,8 @@ public final class BundleUtils {
|
||||||
public static BundleDTO createBundleDto(final org.apache.nifi.registry.flow.Bundle bundle) {
|
public static BundleDTO createBundleDto(final org.apache.nifi.registry.flow.Bundle bundle) {
|
||||||
final BundleDTO dto = new BundleDTO();
|
final BundleDTO dto = new BundleDTO();
|
||||||
dto.setArtifact(bundle.getArtifact());
|
dto.setArtifact(bundle.getArtifact());
|
||||||
dto.setGroup(dto.getGroup());
|
dto.setGroup(bundle.getGroup());
|
||||||
dto.setVersion(dto.getVersion());
|
dto.setVersion(bundle.getVersion());
|
||||||
return dto;
|
return dto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue