DaanHoogland commented on code in PR #6348:
URL: https://github.com/apache/cloudstack/pull/6348#discussion_r912910682
##########
agent/src/main/java/com/cloud/agent/Agent.java:
##########
@@ -179,7 +180,7 @@ public Agent(final IAgentShell shell, final int
localAgentId, final ServerResour
_id = value != null ? Long.parseLong(value) : null;
s_logger.info("id is " + (_id != null ? _id : ""));
- final Map<String, Object> params =
PropertiesUtil.toMap(_shell.getProperties());
+ final Map<String, Object> params = new HashMap<String,Object>();
Review Comment:
```suggestion
final Map<String, Object> params = new HashMap<>();
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]