Merge "Fix Null Reference exception in Windows agent PS scripts"
This commit is contained in:
commit
f306992e94
|
@ -97,7 +97,7 @@ namespace Mirantis.Murano.WindowsAgent
|
||||||
{
|
{
|
||||||
currentResults.Add(new ExecutionResult {
|
currentResults.Add(new ExecutionResult {
|
||||||
IsException = false,
|
IsException = false,
|
||||||
Result = result.Select(SerializePsObject).Where(obj => obj != null).ToList()
|
Result = result.Where(obj => obj != null).Select(SerializePsObject).ToList()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@ namespace Mirantis.Murano.WindowsAgent
|
||||||
{
|
{
|
||||||
base.OnStart(args);
|
base.OnStart(args);
|
||||||
|
|
||||||
Log.Info("Version 0.5.3");
|
Log.Info("Version 0.5.4");
|
||||||
|
|
||||||
this.rabbitMqClient = new RabbitMqClient();
|
this.rabbitMqClient = new RabbitMqClient();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue