Fix Docker GuestBook
Function find() in DockerApplication `initialize` method
returned `null` due to the fact that instance of DockerRedisSlave
class was created with `new()` and this object didn't have owner.
This fix corrects the creation of object
Change-Id: Ib4209cd95edb0209f82dc05e55fe777a212ec9e5
Closes-Bug: #1560441
(cherry picked from commit 9e8d362d04
)
This commit is contained in:
parent
c03755ca64
commit
b00d2dfcca
|
@ -49,6 +49,7 @@ Methods:
|
|||
- $.redisMaster.deploy()
|
||||
- $.redisSlave: new(
|
||||
DockerRedisSlave,
|
||||
$,
|
||||
name => 'RedisSlave',
|
||||
host => $this.redisSlaveHost,
|
||||
publish => false,
|
||||
|
|
Loading…
Reference in New Issue