Fixes invalid expression in app dev framework

Change-Id: Icb298e6a5fb044b02ec13c05e0d7f918f0ad14d8
Closes-Bug: #1618797
This commit is contained in:
Stan Lagun 2016-08-31 09:11:35 -07:00 committed by Kirill Zaitsev
parent 319318516f
commit b7c2cb4898
2 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ Methods:
Body:
- If: $environment and not $server.openstackId
Then:
- $environment.reporter.report($serverGroup, 'Provisioning VM for ' + name($server) or $server.name)
- $environment.reporter.report($serverGroup, 'Provisioning VM for ' + (name($server) or $server.name))
- $server.beginDeploy()
--- # ------------------------------------------------------------------ # ---

View File

@ -85,8 +85,8 @@ Methods:
Contract: $.int().notNull()
Body:
- $this.assertEqual(
$this.reports.skip($offset).take($this.group.numItems),
range(1, $this.group.numItems + 1).select('Provisioning VM for Server {0}'.format($)))
range(1, $this.group.numItems + 1).select('Provisioning VM for Server {0}'.format($)),
$this.reports.skip($offset).take($this.group.numItems))
assertInstallingSequence: