fix platform version field
This commit is contained in:
parent
5b9f1d927f
commit
d53a917c45
|
@ -92,8 +92,7 @@ public class ServiceEndpointResource {
|
|||
if (Objects.nonNull(resourceProfile) && isRoleEnabled()){
|
||||
ServiceEndpoint newResource= new ServiceEndpoint();
|
||||
ServiceEndpoint.Profile profile=newResource.newProfile().category(resourceProfile.getCategory()).name(resourceProfile.getName());
|
||||
ServiceEndpoint.Platform platform=profile.newPlatform().name(resourceProfile.getPlatform());
|
||||
platform.version(resourceProfile.getPlatformVersion());
|
||||
ServiceEndpoint. platform=profile.newPlatform().name(resourceProfile.getPlatform()).version(resourceProfile.getPlatformVersion());
|
||||
ServiceEndpoint.AccessPoint ap=new ServiceEndpoint.AccessPoint();
|
||||
ap.name(resourceProfile.getAccessPointName());
|
||||
ap.address(resourceProfile.getAccessPointAddress());
|
||||
|
|
Loading…
Reference in New Issue