Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nasark committed Aug 29, 2024
1 parent a7a29b6 commit 0b05389
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 75 deletions.
4 changes: 2 additions & 2 deletions app/models/manageiq/providers/openshift/container_manager.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ def self.virtualization_options
{
:label => _('OpenShift Virtualization'),
:value => 'kubevirt',
:pivot => 'endpoints.kubevirt.hostname',
:pivot => 'endpoints.openshift.hostname',
},
]
end

def self.raw_connect(hostname, port, options)
options[:service] ||= "openshift"
send(:"#{options[:service]}_connect", hostname, port, options)
send("#{options[:service]}_connect", hostname, port, options)
end

def self.openshift_connect(hostname, port, options)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require 'json'
require 'recursive_open_struct'

describe ManageIQ::Providers::Openshift::Inventory::Parser::InfraManager::FullRefresh do
describe ManageIQ::Providers::Openshift::InfraManager::Refresher do
context '#refresh' do
let(:ems) do
host = Rails.application.secrets.openshift[:hostname]
Expand All @@ -21,7 +21,7 @@

it 'works correctly with one node' do
2.times do
VCR.use_cassette("full_refresh") do
VCR.use_cassette(described_class.name.underscore) do
EmsRefresh.refresh(ems)
end

Expand Down
Loading

0 comments on commit 0b05389

Please sign in to comment.