The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/6046
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === The common device implementation provides the same behaviour. Signed-off-by: Thomas Parrott <thomas.parr...@canonical.com>
From ac217b314b328d88acbb2724e7eb80eb1e916b26 Mon Sep 17 00:00:00 2001 From: Thomas Parrott <thomas.parr...@canonical.com> Date: Wed, 7 Aug 2019 16:17:36 +0100 Subject: [PATCH] device/proxy: Removes unnecessary CanHotPlug function The common device implementation provides the same behaviour. Signed-off-by: Thomas Parrott <thomas.parr...@canonical.com> --- lxd/device/proxy.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lxd/device/proxy.go b/lxd/device/proxy.go index c9e9d5a789..912330e784 100644 --- a/lxd/device/proxy.go +++ b/lxd/device/proxy.go @@ -39,10 +39,6 @@ type proxyProcInfo struct { proxyProtocol string } -func (d *proxy) CanHotPlug() (bool, []string) { - return true, []string{} -} - // validateConfig checks the supplied config for correctness. func (d *proxy) validateConfig() error { if d.instance.Type() != instance.TypeContainer {
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel