Class: KuberKit::Actions::ServiceReader
- Defined in:
- lib/kuber_kit/actions/service_reader.rb
Instance Method Summary collapse
Instance Method Details
#call(service_name, options) ⇒ Object
9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/kuber_kit/actions/service_reader.rb', line 9 def call(service_name, ) result = service_reader.call(local_shell, service_name) ui.print_info(service_name.to_s, result) true rescue KuberKit::Error => e ui.print_error("Error", e.) false end |