Skip to content

Commit

Permalink
Fixed deploy of flows in controllers
Browse files Browse the repository at this point in the history
  • Loading branch information
ederson.brilhante committed Feb 1, 2018
1 parent e3316c8 commit e819be9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion networkapi/api_environment/facade.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def delete_environment(env_ids):

def get_controller_by_envid(env_id):
q_filter_environment = {
'equipmentcontrollerenvironment': env_id
'equipmentcontrollerenvironment__environment': env_id
}

return Equipamento.objects.filter(Q(**q_filter_environment))
Expand Down
4 changes: 2 additions & 2 deletions scripts/docker/docker-start-debug.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ pip install -r requirements.txt
pip install -r requirements_test.txt
pip install -r requirements_debug.txt

export NETWORKAPI_DEBUG=0
export NETWORKAPI_LOG_QUEUE=1
export NETWORKAPI_DEBUG=1
export NETWORKAPI_LOG_QUEUE=0
export DJANGO_SETTINGS_MODULE='networkapi.settings_ipdb'

echo "starting runserver 0.0.0.0:8001 --ipdb"
Expand Down

0 comments on commit e819be9

Please sign in to comment.