19972: Lint.
[arvados.git] / lib / diagnostics / cmd.go
index 36dca86e59c2f284efcec4f7a0beb7dce6530974..8d89b84d37a6a8a7fb9789a3b0e06666974935d7 100644 (file)
@@ -131,7 +131,8 @@ func (diag *diagnoser) dotest(id int, title string, fn func() error) {
 
 func (diag *diagnoser) runtests() {
        client := arvados.NewClientFromEnv()
-       client.Timeout = 0 // disable auto-retry, use context instead
+       // Disable auto-retry, use context instead
+       client.Timeout = 0
 
        if client.APIHost == "" || client.AuthToken == "" {
                diag.errorf("ARVADOS_API_HOST and ARVADOS_API_TOKEN environment variables are not set -- aborting without running any tests")