Revision 11bebb6e src/cli/one_helper/onehost_helper.rb

View differences:

src/cli/one_helper/onehost_helper.rb
236 236
            next if host['TEMPLATE/PUBLIC_CLOUD'] == 'YES'
237 237

  
238 238
            # Skip this host from remote syncing if it's OFFLINE
239
            next if self.class.state_to_str(state) == 'off'
239
            next if Host::HOST_STATES[state.to_i] == 'OFFLINE'
240 240

  
241 241
            host_version=host['TEMPLATE/VERSION']
242 242

  

Also available in: Unified diff