Sha256: a3ec898ccf353ec6821573091cea9cbed0583cc542473b438a6a53913a3f744d
Contents?: true
Size: 297 Bytes
Versions: 2
Compression:
Stored size: 297 Bytes
Contents
# -*- coding: utf-8 -*- module Dcmgr; module Scheduler; module HostNode class FindFirst < HostNodeScheduler def schedule(instance) host_node = Models::HostNode.first raise HostNodeScheduleError if host_node.nil? instance.host_node = host_node end end end; end; end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
wakame-vdc-agents-11.12.0 | lib/dcmgr/scheduler/host_node/find_first.rb |
wakame-vdc-dcmgr-11.12.0 | lib/dcmgr/scheduler/host_node/find_first.rb |