mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-25 21:28:40 -05:00
Merge pull request #106 from puppetlabs/fix-endpoint-check
(maint) Fix bug with detecting ABS service
This commit is contained in:
commit
3f8417d192
1 changed files with 1 additions and 1 deletions
|
|
@ -139,7 +139,7 @@ class Service
|
|||
|
||||
# some methods do not exist for ABS, and if possible should target the Pooler service
|
||||
def maybe_use_vmpooler
|
||||
if @service_object.is_a?(ABS.class)
|
||||
if @service_object == ABS # this is not an instance
|
||||
if !self.silent
|
||||
FloatyLogger.info "The service in use is ABS, but the requested method should run against vmpooler directly, using fallback_vmpooler config from ~/.vmfloaty.yml"
|
||||
self.silent = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue