Revision 079ef241 src/cli/one_helper/onehost_helper.rb

View differences:

src/cli/one_helper/onehost_helper.rb
230 230

  
231 231
            vm_mad = host['VM_MAD'].downcase
232 232
            remote_remotes = host['TEMPLATE/REMOTE_REMOTES']
233
            state = host['STATE']
233 234

  
234 235
            # Skip this host from remote syncing if it's a PUBLIC_CLOUD host
235 236
            next if host['TEMPLATE/PUBLIC_CLOUD'] == 'YES'
236 237

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

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

  
239 243
            begin

Also available in: Unified diff