Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #35659 - ForemanGoogle plugin #606

Merged
merged 1 commit into from
Oct 31, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 0 additions & 47 deletions lib/hammer_cli_foreman/compute_resource/gce.rb

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ def self.register_compute_resource(name, compute_resource)

require 'hammer_cli_foreman/compute_resource/base'
require 'hammer_cli_foreman/compute_resource/ec2.rb'
require 'hammer_cli_foreman/compute_resource/gce.rb'
require 'hammer_cli_foreman/compute_resource/libvirt.rb'
require 'hammer_cli_foreman/compute_resource/openstack.rb'
require 'hammer_cli_foreman/compute_resource/ovirt.rb'
Expand Down
4 changes: 0 additions & 4 deletions lib/hammer_cli_foreman/virtual_machine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ class VirtualMachine < HammerCLIForeman::Command
class PowerVmCommand < HammerCLIForeman::Command
action :power_vm
command_name 'power'
option "--vm-id", "VM-ID", _("Virtual machine id, for gce use virtual machine name")

success_message _("Virtual machine is powering.")
failure_message _("Could not power the virtual machine")
Expand All @@ -19,7 +18,6 @@ class PowerVmCommand < HammerCLIForeman::Command

class InfoCommand < HammerCLIForeman::InfoCommand
action :show_vm
option "--vm-id", "VM-ID", _("Virtual machine id, for gce use virtual machine name")

output do
field :id, _("Id")
Expand All @@ -39,8 +37,6 @@ def print_data(data)

class DeleteCommand < HammerCLIForeman::DeleteCommand
action :destroy_vm
option "--vm-id", "VM-ID", _("Virtual machine id, for gce use virtual machine name")


success_message _("Virtual machine deleted.")
failure_message _("Could not delete the virtual machine")
Expand Down