Changes requested by @codyoss

This commit is contained in:
Ryan Kohler
2022-04-28 06:28:56 -07:00
parent d65db13e65
commit 897ba4b211

View File

@@ -89,7 +89,7 @@ var runCommand = func(ctx context.Context, command string, env []string) ([]byte
return response, nil
}
if ctx.Err() != nil && errors.Is(ctx.Err(), context.DeadlineExceeded) {
if ctx.Err() == context.DeadlineExceeded {
return nil, timeoutError()
}