mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-09-08 02:30:23 +00:00
chore: linting improvements and catching false positives (#882)
* chore: linting improvements and catching false positives Signed-off-by: Alex Jones <alexsimonjones@gmail.com> * chore: linting improvements and catching false positives Signed-off-by: Alex Jones <alexsimonjones@gmail.com> * chore: linting improvements and catching false positives Signed-off-by: Alex Jones <alexsimonjones@gmail.com> * chore: increase linter time out Signed-off-by: Alex Jones <alexsimonjones@gmail.com> --------- Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
This commit is contained in:
@@ -16,6 +16,7 @@ func TestServerInit(t *testing.T) {
|
||||
color.Red("failed to create logger: %v", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
//nolint:all
|
||||
defer logger.Sync()
|
||||
server_config := Config{
|
||||
Backend: "openai",
|
||||
|
Reference in New Issue
Block a user