Skip to content

Commit

Permalink
fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
Niklaus-xie committed Oct 12, 2021
1 parent 0d3c093 commit eb61789
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ before_install:
- git config --global user.name "Travis F5 Openstack"
- docker pull f5devcentral/containthedocs:latest
install:
- python -m pip install pip==19.0.3
- pip install tox
- pip install -r requirements.style.txt
script:
Expand All @@ -36,7 +37,7 @@ script:
- echo "stdeb.cfg:"
- cat f5-openstack-agent-dist/deb_dist/stdeb.cfg
- f5-openstack-agent-dist/scripts/package_agent.sh "redhat" "7"
- f5-openstack-agent-dist/scripts/package_agent.sh "redhat" "6"
# - f5-openstack-agent-dist/scripts/package_agent.sh "redhat" "6"
- f5-openstack-agent-dist/scripts/package_agent.sh "ubuntu" "14.04"
- sudo chown -R travis:travis ${DIST_REPO}/rpms/build
- sudo chown -R travis:travis ${DIST_REPO}/deb_dist/*.deb
Expand Down
3 changes: 2 additions & 1 deletion f5_openstack_agent/lbaasv2/drivers/bigip/service_adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,8 @@ def _map_pool(self, loadbalancer, lbaas_pool, lbaas_hm, lbaas_members):
if lbaas_pool.get('priority_group_least_member'):
LOG.info('setting to priority_group_least_member')
LOG.info(lbaas_pool.get('priority_group_least_member'))
pool['minActiveMembers'] = lbaas_pool['priority_group_least_member']
pool['minActiveMembers'] = \
lbaas_pool['priority_group_least_member']
else:
LOG.info('setting to priority_group_least_member 0')
pool['minActiveMembers'] = 0
Expand Down

0 comments on commit eb61789

Please sign in to comment.