lib/vmfloaty/service.rb
# some methods do not exist for ABS, and if possible should target the Pooler service
some methods do not exist for ABS, and if possible should target the Pooler service
some methods do not exist for ABS and if possible should target the Pooler service
def maybe_use_vmpooler
    if @service_object == ABS 
      unless 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
      end
      @config = Utils.get_vmpooler_service_config(@config['vmpooler_fallback'])
      @service_object = Pooler
    end
  end
def maybe_use_vmpooler if @service_object == ABS unless 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 end @config = Utils . get_vmpooler_service_config ( @config [ 'vmpooler_fallback' ] ) @service_object = Pooler end end
some methods do not exist for ABS, and if possible should target the Pooler service
some methods do not exist for ABS and if possible should target the Pooler service
# this is not an instance