[Docker] Pod (RC) scaling was fixed

Change-Id: I287cdbed1c3b8f8bad0a80219e108f445ad409b3
Closes-Bug: #1504644
This commit is contained in:
Stan Lagun 2015-10-10 01:47:12 +03:00
parent 17fea01068
commit 4026fd9c9f
2 changed files with 2 additions and 1 deletions

View File

@ -503,6 +503,7 @@ Methods:
- newSize:
Contract: $.int().notNull()
Body:
- $resources: new(sys:Resources)
- $template: $resources.yaml('ScaleRc.template').bind(dict(
rcName => $rcName,
newSize => $newSize

View File

@ -19,7 +19,7 @@ Parameters:
newSize: $newSize
Body: |
return scaleRc('{0} {1}'.format(args.rcName, args.newSize).stdout
return scaleRc('{0} {1}'.format(args.rcName, args.newSize)).stdout
Scripts:
scaleRc: