Merge pull request #106 from puppetlabs/fix-endpoint-check

(maint) Fix bug with detecting ABS service
This commit is contained in:
Gene Liverman 2020-10-09 11:42:38 -04:00 committed by GitHub
commit 3f8417d192
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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