NIFI-4960: fix object setting. This closes #2531.

Signed-off-by: Mark Payne <markap14@hotmail.com>
This commit is contained in:
Jorge Machado 2018-03-12 10:55:05 +01:00 committed by Mark Payne
parent 49c7af03c1
commit 06cb354c5e
1 changed files with 2 additions and 2 deletions

View File

@ -182,8 +182,8 @@ public final class BundleUtils {
public static BundleDTO createBundleDto(final org.apache.nifi.registry.flow.Bundle bundle) {
final BundleDTO dto = new BundleDTO();
dto.setArtifact(bundle.getArtifact());
dto.setGroup(dto.getGroup());
dto.setVersion(dto.getVersion());
dto.setGroup(bundle.getGroup());
dto.setVersion(bundle.getVersion());
return dto;
}
}