Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit 20fcb93

Browse files
James O. D. Huntamshinde
authored andcommitted
hypervisor: Remove unused methods
Deleted `HypervisorConfig`'s unused `CustomFirmwareAsset()` and `JailerAssetPath()` methods. Signed-off-by: James O. D. Hunt <[email protected]> (cherry picked from commit 4ce09fb)
1 parent 04dc0d9 commit 20fcb93

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

virtcontainers/hypervisor.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -578,11 +578,6 @@ func (conf *HypervisorConfig) HypervisorCtlAssetPath() (string, error) {
578578
return conf.assetPath(types.HypervisorCtlAsset)
579579
}
580580

581-
// JailerAssetPath returns the VM Jailer path
582-
func (conf *HypervisorConfig) JailerAssetPath() (string, error) {
583-
return conf.assetPath(types.JailerAsset)
584-
}
585-
586581
// CustomHypervisorAsset returns true if the hypervisor asset is a custom one, false otherwise.
587582
func (conf *HypervisorConfig) CustomHypervisorAsset() bool {
588583
return conf.isCustomAsset(types.HypervisorAsset)
@@ -593,11 +588,6 @@ func (conf *HypervisorConfig) FirmwareAssetPath() (string, error) {
593588
return conf.assetPath(types.FirmwareAsset)
594589
}
595590

596-
// CustomFirmwareAsset returns true if the firmware asset is a custom one, false otherwise.
597-
func (conf *HypervisorConfig) CustomFirmwareAsset() bool {
598-
return conf.isCustomAsset(types.FirmwareAsset)
599-
}
600-
601591
func appendParam(params []Param, parameter string, value string) []Param {
602592
return append(params, Param{parameter, value})
603593
}

0 commit comments

Comments
 (0)