diff options
| author | Sebastian Cabrera <Sebastian.Cabrera@1und1.de> | 2014-05-23 14:33:28 +0200 |
|---|---|---|
| committer | Sebastian Cabrera <Sebastian.Cabrera@1und1.de> | 2014-05-23 14:33:28 +0200 |
| commit | a5a2f3c0194452d76796045289d47c25d180ecae (patch) | |
| tree | 3de61cbfe6453a288c107a12e8078e877c8b2c8a /src | |
| parent | 7cf953e6584439046fd241da366f1fb672cf374d (diff) | |
BUGFIX for pool creation
* you need to split on a.sub2 instead of sub3 to pass nodes on pool creation
Diffstat (limited to 'src')
| -rwxr-xr-x | src/fapi | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -298,8 +298,8 @@ class Fapi(object): elif a.sub == 'create': poolmembers = [] method = 'LB_METHOD_ROUND_ROBIN' - if a.sub3: - for x in a.sub3.split(','): + if a.sub2: + for x in a.sub2.split(','): fqdn_or_ip, ip, port = self.lookup(x) pm = { 'address' : fqdn_or_ip, 'port' : port } poolmembers.append(pm) |
