From e00f903c82d39bb75d6739bdc09e0fc1c248a856 Mon Sep 17 00:00:00 2001 From: Steven Allen <steven@stebalien.com> Date: Sat, 20 Jan 2018 00:31:06 -0800 Subject: [PATCH] return background context instead of nil License: MIT Signed-off-by: Steven Allen <steven@stebalien.com> --- commands/request.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/request.go b/commands/request.go index 242b623d1..018e8469f 100644 --- a/commands/request.go +++ b/commands/request.go @@ -70,7 +70,7 @@ func (c *Context) Context() context.Context { n, err := c.GetNode() if err != nil { log.Debug("error getting node: ", err) - return nil + return context.Background() } return n.Context() -- GitLab