Class: SMPTool::CLI::Executor::Resizer

Inherits:
VolReadWriteOperator show all
Defined in:
lib/smp_tool/cli/executor/resizer.rb

Instance Method Summary collapse

Methods inherited from VolReadOperator

#initialize

Constructor Details

This class inherits a constructor from SMPTool::CLI::Executor::VolReadOperator

Instance Method Details

#callObject



7
8
9
10
11
12
# File 'lib/smp_tool/cli/executor/resizer.rb', line 7

def call
  n_clusters_changed = @volume.resize(@options[:n_clusters].to_i)
  @logger.es_info _msg(n_clusters_changed)

  super
end