clh: Fix typo on HotplugRemoveDevice

A copy and paste mistake was made and the error on HotplugRemoveDevice()
should be about removal and not about addition.

Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
Fabiano Fidêncio 2022-02-25 22:29:11 +01:00
parent 827ab82a82
commit a9ba7c132b

View File

@ -657,7 +657,7 @@ func (clh *cloudHypervisor) HotplugRemoveDevice(ctx context.Context, devInfo int
defer span.End() defer span.End()
if clh.config.ConfidentialGuest { if clh.config.ConfidentialGuest {
return nil, errors.New("Device hotplug addition is not supported in confidential mode") return nil, errors.New("Device hotplug removal is not supported in confidential mode")
} }
var deviceID string var deviceID string