![]() We should never return a nil context because of the way this function is typically used... e.g. ``` ctx, done, err := containerd.WithLease(ctx) ``` If there is an error `ctx` will be nil and any error handling may cause an NPE if it tries to use `ctx`. Signed-off-by: Brian Goff <cpuguy83@gmail.com> |
||
---|---|---|
.. | ||
app | ||
commands | ||
main.go |