Revision f3b5f20a src/cli/one_helper/onehost_helper.rb

View differences:

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

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

  
273 273
            host_version=host['TEMPLATE/VERSION']
274 274

  

Also available in: Unified diff