Revision 9865a93c src/cloud/occi/lib/VirtualMachinePoolOCCI.rb

View differences:

src/cloud/occi/lib/VirtualMachinePoolOCCI.rb
12 12
                  } 
13 13
              end %>
14 14
        </COMPUTES>       
15
    }.gsub(/^        /, '')               
15
    }
16 16
    
17 17
    
18 18
    # Creates the OCCI representation of a Virtual Machine Pool
......
20 20
       pool_hash=to_hash
21 21
       
22 22
       occi = ERB.new(OCCI_VM_POOL)
23
       return occi.result(binding)
23
       return occi.result(binding).gsub(/\n\s*/,'')
24 24
    end
25 25
end
26 26

  

Also available in: Unified diff