Skip to content

Commit

Permalink
Solve WN issues
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Oct 3, 2018
1 parent 3e9ef23 commit b5abe2a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion IM/tosca/Tosca.py
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,16 @@ def _order_deploys(self, radl):
else:
priv.append(d)

radl.deploys = pub + priv
# This is patch, we need a solution for that
wn = []
fe = []
for d in pub:
if "wn" in d.id:
wn.append(d)
else:
fe.append(d)

radl.deploys = fe + wn + priv

def _get_num_instances(self, sys_name, inf_info):
"""
Expand Down

0 comments on commit b5abe2a

Please sign in to comment.