[Docker] Pod (RC) scaling was fixed
Change-Id: I287cdbed1c3b8f8bad0a80219e108f445ad409b3 Closes-Bug: #1504644
This commit is contained in:
parent
17fea01068
commit
4026fd9c9f
@ -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
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user