lib/command/ps.rb in cpl-1.4.0 vs lib/command/ps.rb in cpl-2.2.0
- old
+ new
@@ -31,10 +31,10 @@
workloads = [config.options[:workload]] if config.options[:workload]
workloads ||= config[:app_workloads] + config[:additional_workloads]
workloads.each do |workload|
cp.fetch_workload!(workload)
- result = cp.workload_get_replicas(workload, location: location)
+ result = cp.fetch_workload_replicas(workload, location: location)
result["items"].each { |replica| puts replica }
end
end
end
end