mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-19 07:14:22 +01:00
hypervisor: Expose the hypervisor itself
Export the top level hypervisor type s/hypervisor/Hypervisor Fixes: #2880 Signed-off-by: Manohar Castelino <mcastelino@apple.com> Signed-off-by: Eric Ernst <eric_ernst@apple.com>
This commit is contained in:
committed by
Eric Ernst
parent
a72bed5b34
commit
52268d0ece
@@ -65,7 +65,7 @@ func TestStringFromUnknownHypervisorType(t *testing.T) {
|
||||
testStringFromHypervisorType(t, hypervisorType, "")
|
||||
}
|
||||
|
||||
func testNewHypervisorFromHypervisorType(t *testing.T, hypervisorType HypervisorType, expected hypervisor) {
|
||||
func testNewHypervisorFromHypervisorType(t *testing.T, hypervisorType HypervisorType, expected Hypervisor) {
|
||||
assert := assert.New(t)
|
||||
hy, err := NewHypervisor(hypervisorType)
|
||||
assert.NoError(err)
|
||||
|
||||
Reference in New Issue
Block a user