Fix wrong offset in environment array 33/8533/3
authorPeter Barabas <peter.barabas@ericsson.com>
Wed, 27 Jan 2016 13:44:17 +0000 (14:44 +0100)
committerStefan Berg <sfb@consultron.com>
Fri, 29 Jan 2016 13:35:33 +0000 (14:35 +0100)
Change-Id: Ifd01bc89c2c73801544310f567dd0458233b3290
Signed-off-by: Peter Barabas <peter.barabas@ericsson.com>
(cherry picked from commit 2ddc5c24c06afb9ebd0670fb933fec61c45f5953)

deploy/common.py

index 4b0561c..cc418b5 100644 (file)
@@ -19,7 +19,7 @@ import errno
 
 N = {'id': 0, 'status': 1, 'name': 2, 'cluster': 3, 'ip': 4, 'mac': 5,
      'roles': 6, 'pending_roles': 7, 'online': 8, 'group_id': 9}
-E = {'id': 0, 'status': 1, 'name': 2, 'release_id': 3, 'pending_release_id': 5}
+E = {'id': 0, 'status': 1, 'name': 2, 'release_id': 3, 'pending_release_id': 4}
 R = {'id': 0, 'name': 1, 'state': 2, 'operating_system': 3, 'version': 4}
 RO = {'name': 0, 'conflicts': 1}
 CWD = os.getcwd()