Skip to content
Snippets Groups Projects
Commit e00f903c authored by Steven Allen's avatar Steven Allen
Browse files

return background context instead of nil


License: MIT
Signed-off-by: default avatarSteven Allen <steven@stebalien.com>
parent a17f8c0e
Branches
Tags
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment