Commits

Kaspar Schiess committed 04336b2

.

  • Participants
  • Parent commits baf75a1

Comments (0)

Files changed (1)

 class CommandLine < Clamp::Command
   subcommand 'list', 'Lists all targets with the corresponding attribtues' do
     def execute
-      shares = ISCSI::Shares.new
-      shares.list do |target|
+      shares = ISCSI::Context.new
+      shares.targets do |target|
         puts target.name
         p target.groups.map(&:name)
       end