-
Notifications
You must be signed in to change notification settings - Fork 467
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
separate cobra constructors: lapi, machines, bouncers, postoverflows #1945
Conversation
} | ||
log.Printf("Local API credentials dumped to '%s'", dumpFile) | ||
} else { | ||
fmt.Printf("%s\n", string(apiConfigDump)) |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information
} | ||
log.Printf("API credentials dumped to '%s'", dumpFile) | ||
} else { | ||
fmt.Printf("%s\n", string(apiConfigDump)) |
Check failure
Code scanning / CodeQL
Clear-text logging of sensitive information
Codecov Report
@@ Coverage Diff @@
## master #1945 +/- ##
==========================================
+ Coverage 54.61% 54.83% +0.21%
==========================================
Files 152 156 +4
Lines 20149 20622 +473
==========================================
+ Hits 11005 11308 +303
- Misses 7961 8081 +120
- Partials 1183 1233 +50
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
e85c3e4
to
2024028
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
* backoff on refresh token error * fix tls communication with lapi and user/pw auth (#1956) allow self-signed TLS encryption with user/pw auth docker: - remove defaults for certificate file locations - new envvar INSECURE_SKIP_VERIFY - register agent before TLS settings (cscli machine add removes them from the credentials file) * separate cscli cobra constructors: lapi, machines, bouncers, postoverflows (#1945) * use feature toggling to improve testability with http retry backoff * Add parse unix to dateparse enricher (#1958) Add parse unix is we do have a strTime but wasnt parsed using convential golang time * func tests: redirect stderr to filter extra logs (#1961) * backoff on refresh token error * use feature toggling to improve testability with http retry backoff * refactor feature backoff toggle for tests Co-authored-by: mmetc <92726601+mmetc@users.noreply.github.com> Co-authored-by: Laurence Jones <laurence.jones@live.co.uk>
I just moved around stuff like I did for "cscli config". The aim is to have