mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
Fix reference to unused e to satisfy rubocop
This commit is contained in:
parent
283dea62a7
commit
7597185fa4
2 changed files with 7 additions and 1 deletions
|
|
@ -9,6 +9,9 @@ services:
|
|||
- type: bind
|
||||
source: ${PWD}/vmpooler.yaml
|
||||
target: /etc/vmpooler/vmpooler.yaml
|
||||
- type: bind
|
||||
source: ${PWD}/providers.yaml
|
||||
target: /etc/vmpooler/providers.yaml
|
||||
ports:
|
||||
- "4567:4567"
|
||||
networks:
|
||||
|
|
@ -17,6 +20,9 @@ services:
|
|||
- VMPOOLER_DEBUG=true # for use of dummy auth
|
||||
- VMPOOLER_CONFIG_FILE=/etc/vmpooler/vmpooler.yaml
|
||||
- REDIS_SERVER=redislocal
|
||||
- EXTRA_CONFIG=/etc/vmpooler/providers.yaml
|
||||
- LOGFILE=/dev/stdout
|
||||
- LDAP_PORT=636
|
||||
image: vmpooler-local
|
||||
depends_on:
|
||||
- redislocal
|
||||
|
|
|
|||
|
|
@ -822,7 +822,7 @@ module Vmpooler
|
|||
loop_count += 1
|
||||
end
|
||||
end
|
||||
rescue Redis::CannotConnectError => e
|
||||
rescue Redis::CannotConnectError
|
||||
raise
|
||||
rescue StandardError => e
|
||||
$logger.log('s', "[!] [#{pool['name']}] Error while checking the pool: #{e}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue