Committed by
Gerrit Code Review
tenant network review fix
Change-Id: I43943068bb92711fa0ba8ab49c2807b6e5f49702
Showing
1 changed file
with
8 additions
and
8 deletions
... | @@ -98,20 +98,20 @@ public class TenantNetworkWebResource extends AbstractWebResource { | ... | @@ -98,20 +98,20 @@ public class TenantNetworkWebResource extends AbstractWebResource { |
98 | if ((queryId == null || queryId.equals(network.id().toString())) | 98 | if ((queryId == null || queryId.equals(network.id().toString())) |
99 | && (queryName == null || queryName.equals(network.name())) | 99 | && (queryName == null || queryName.equals(network.name())) |
100 | && (queryadminStateUp == null || queryadminStateUp | 100 | && (queryadminStateUp == null || queryadminStateUp |
101 | - .equals(network.adminStateUp())) | 101 | + .equals(Boolean.toString(network.adminStateUp()))) |
102 | && (querystate == null || querystate.equals(network.state() | 102 | && (querystate == null || querystate.equals(network.state() |
103 | .toString())) | 103 | .toString())) |
104 | - && (queryshared == null || queryshared.equals(network | 104 | + && (queryshared == null || queryshared.equals(Boolean.toString(network |
105 | - .shared())) | 105 | + .shared()))) |
106 | && (querytenantId == null || querytenantId.equals(network | 106 | && (querytenantId == null || querytenantId.equals(network |
107 | .tenantId().toString())) | 107 | .tenantId().toString())) |
108 | - && (routerExternal == null || routerExternal.equals(network | 108 | + && (routerExternal == null || routerExternal.equals(Boolean.toString(network |
109 | - .routerExternal())) | 109 | + .routerExternal()))) |
110 | - && (type == null || type.equals(network.type())) | 110 | + && (type == null || type.equals(network.type().toString())) |
111 | && (physicalNetwork == null || physicalNetwork | 111 | && (physicalNetwork == null || physicalNetwork |
112 | - .equals(network.physicalNetwork())) | 112 | + .equals(network.physicalNetwork().toString())) |
113 | && (segmentationId == null || segmentationId.equals(network | 113 | && (segmentationId == null || segmentationId.equals(network |
114 | - .segmentationId()))) { | 114 | + .segmentationId().toString()))) { |
115 | networksMap.putIfAbsent(network.id(), network); | 115 | networksMap.putIfAbsent(network.id(), network); |
116 | } | 116 | } |
117 | } | 117 | } | ... | ... |
-
Please register or login to post a comment