diff options
| author | Pawel Stolowski <stolowski@gmail.com> | 2018-11-15 10:23:30 +0100 |
|---|---|---|
| committer | Pawel Stolowski <stolowski@gmail.com> | 2018-11-15 10:23:30 +0100 |
| commit | d88503e868870e322393172946d342233c12774c (patch) | |
| tree | 44f8bcdf81f536014bedab84b63eac62a620f44d | |
| parent | 03f9491b1b7c874c2e81bde5f1bc837f77749865 (diff) | |
| parent | aef264e5e426815224312e4673b863517fbb0d1a (diff) | |
Merge remote-tracking branch 'mysnapd/hotplug-remove-device' into hotplug-remove-devicehotplug-remove-device
| -rw-r--r-- | overlord/ifacestate/hotplug.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/overlord/ifacestate/hotplug.go b/overlord/ifacestate/hotplug.go index 0794b5bd95..3ec7e9a08c 100644 --- a/overlord/ifacestate/hotplug.go +++ b/overlord/ifacestate/hotplug.go @@ -178,7 +178,7 @@ func suggestedSlotName(devinfo *hotplug.HotplugDeviceInfo, fallbackName string) return shortestName } -// create tasks to disconnect slots of given device and remove affected slots. +// removeDevice creates tasks to disconnect slots of given device and remove affected slots. func removeDevice(st *state.State, ifaceName, hotplugKey string) *state.TaskSet { // hotplug-disconnect task will create hooks and disconnect the slot hotplugDisconnect := st.NewTask("hotplug-disconnect", fmt.Sprintf("Disable connections for interface %s, hotplug key %q", ifaceName, hotplugKey)) |
