Commit e00f903c authored by Steven Allen's avatar Steven Allen

return background context instead of nil

License: MIT
Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
parent a17f8c0e
......@@ -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()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment