Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into radjabov
Browse files Browse the repository at this point in the history
  • Loading branch information
Fryguy committed May 22, 2024
2 parents 0d667c9 + 7d5b686 commit 4dca8e6
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ plugins:
rubocop:
enabled: true
config: ".rubocop_cc.yml"
channel: rubocop-0-82
channel: rubocop-1-56-3
exclude_patterns:
- node_modules/
- spec/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ jobs:
- name: Report code coverage
if: "${{ github.ref == 'refs/heads/master' && matrix.ruby-version == '3.0' }}"
continue-on-error: true
uses: paambaati/codeclimate-action@v5
uses: paambaati/codeclimate-action@v6
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ class ManageIQ::Providers::Autosde::StorageManager::CloudVolume < ::CloudVolume
supports :create
supports :clone
supports :update do
unsupported_reason_add(:update, _("the volume is not connected to an active provider")) unless ext_management_system
_("the volume is not connected to an active provider") unless ext_management_system
end
supports :snapshot_create do
unsupported_reason_add(:snapshot_create, _("the volume is not connected to an active provider")) unless ext_management_system
_("the volume is not connected to an active provider") unless ext_management_system
end

# cloud volume delete functionality is not supported for now
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class ManageIQ::Providers::Autosde::StorageManager::HostInitiatorGroup < ::HostInitiatorGroup
supports :create
supports :update do
unsupported_reason_add(:update, _("the host initiator group is not connected to an active provider")) unless ext_management_system
_("the host initiator group is not connected to an active provider") unless ext_management_system
end
supports :delete do
unsupported_reason_add(:update, _("the host initiator group is not connected to an active provider")) unless ext_management_system
_("the host initiator group is not connected to an active provider") unless ext_management_system
end

def self.raw_create_host_initiator_group(ext_management_system, options = {})
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
class ManageIQ::Providers::Autosde::StorageManager::PhysicalStorage < ::PhysicalStorage
supports :create
supports :update do
unsupported_reason_add(:update, _("The Physical Storage is not connected to an active Manager")) if ext_management_system.nil?
_("The Physical Storage is not connected to an active Manager") if ext_management_system.nil?
end
supports :delete do
unsupported_reason_add(:delete, _("The Physical Storage is not connected to an active Manager")) if ext_management_system.nil?
_("The Physical Storage is not connected to an active Manager") if ext_management_system.nil?
end
supports :validate

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class ManageIQ::Providers::Autosde::StorageManager::VolumeMapping < ::VolumeMapp
supports :create

supports :delete do
unsupported_reason_add(:delete, _("The Volume mapping is not connected to an active Manager")) if ext_management_system.nil?
_("The Volume mapping is not connected to an active Manager") if ext_management_system.nil?
end

def raw_delete_volume_mapping
Expand Down
6 changes: 6 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}

0 comments on commit 4dca8e6

Please sign in to comment.