mirror of
https://github.com/containers/podman.git
synced 2025-11-29 17:48:05 +08:00
lint: reenable revive unused-parameter check
Signed-off-by: Matt Souza <medsouz99@gmail.com>
This commit is contained in:
@@ -21,7 +21,7 @@ type MachineOS struct {
|
||||
}
|
||||
|
||||
// Apply applies the image by sshing into the machine and running apply from inside the VM.
|
||||
func (m *MachineOS) Apply(image string, opts ApplyOptions) error {
|
||||
func (m *MachineOS) Apply(image string, _ ApplyOptions) error {
|
||||
args := []string{"podman", "machine", "os", "apply", image}
|
||||
|
||||
if err := machine.LocalhostSSH(m.VM.SSH.RemoteUsername, m.VM.SSH.IdentityPath, m.VMName, m.VM.SSH.Port, args); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user