diff --git a/app/models/manageiq/providers/redhat/infra_manager/vm/operations/snapshot.rb b/app/models/manageiq/providers/redhat/infra_manager/vm/operations/snapshot.rb index 7b3314ada..4a47a0659 100644 --- a/app/models/manageiq/providers/redhat/infra_manager/vm/operations/snapshot.rb +++ b/app/models/manageiq/providers/redhat/infra_manager/vm/operations/snapshot.rb @@ -60,6 +60,10 @@ def revert_to_snapshot_denied_message(active = false) return _("Revert is not allowed for a snapshot that is the active one") if active end + def remove_snapshot_denied_message(active = false) + return _("Delete is not allowed for a snapshot that is the active one") if active + end + def snapshotting_memory_allowed? current_state == 'on' end