Merge pull request #2423 from andreabolognani/virtcontainers-fix-error-message

virtcontainers: Fix error message in mockHypervisor
This commit is contained in:
Salvador Fuentes 2020-01-29 13:02:53 -06:00 committed by GitHub
commit 01beb2fda9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ func (m *mockHypervisor) fromGrpc(ctx context.Context, hypervisorConfig *Hypervi
}
func (m *mockHypervisor) toGrpc() ([]byte, error) {
return nil, errors.New("firecracker is not supported by VM cache")
return nil, errors.New("mockHypervisor is not supported by VM cache")
}
func (m *mockHypervisor) save() (s persistapi.HypervisorState) {