mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 01:58:41 -05:00
(maint) Fix minor rubocop violations
Fix minor rubocop violations
This commit is contained in:
parent
30946fab8e
commit
5e0aefc629
2 changed files with 2 additions and 1 deletions
|
|
@ -11,6 +11,7 @@ AllCops:
|
||||||
- 'vendor/**/*'
|
- 'vendor/**/*'
|
||||||
- Gemfile
|
- Gemfile
|
||||||
- Rakefile
|
- Rakefile
|
||||||
|
- Vagrantfile
|
||||||
|
|
||||||
Style/Documentation:
|
Style/Documentation:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
|
||||||
|
|
@ -571,7 +571,7 @@ module Vmpooler
|
||||||
datacenter.hostFolder.children.find { |cluster_object| cluster_object.name == cluster }
|
datacenter.hostFolder.children.find { |cluster_object| cluster_object.name == cluster }
|
||||||
end
|
end
|
||||||
|
|
||||||
def get_cluster_host_utilization(cluster, model=nil)
|
def get_cluster_host_utilization(cluster, model = nil)
|
||||||
cluster_hosts = []
|
cluster_hosts = []
|
||||||
cluster.host.each do |host|
|
cluster.host.each do |host|
|
||||||
host_usage = get_host_utilization(host, model)
|
host_usage = get_host_utilization(host, model)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue