Commits

Kaspar Schiess committed 06b6c0b

more formatting changes

Comments (0)

Files changed (1)

     def execute
       ctx = ISCSI::Context.new
       ctx.targets.each do |target|
-        puts target.name
-        p target.groups.map(&:name)
+        puts "#{target.name} (#{target.groups.map(&:name).join(', ')})"
         
         target.views.map(&:lu).each do |lu| 
-          puts "LU #{lu.name} #{lu.data_file}"
+          puts "LU #{lu.lun} #{lu.name} #{lu.data_file}"
         end
       end
     end