Merge pull request #2902 from liubin/fix/2901-delete-duplicated-line

virtcontainers: delete duplicated notify in watchHypervisor function
This commit is contained in:
James O. D. Hunt 2021-10-26 08:22:11 +01:00 committed by GitHub
commit d1d9e84e9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,6 @@ func (m *monitor) watchAgent(ctx context.Context) {
func (m *monitor) watchHypervisor(ctx context.Context) error {
if err := m.sandbox.hypervisor.Check(); err != nil {
m.notify(ctx, errors.Wrapf(err, "failed to ping hypervisor process"))
m.notify(ctx, errors.Wrapf(err, "failed to ping Hypervisor process"))
return err
}
return nil