Skip to content

Commit

Permalink
log analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanxin committed Oct 7, 2023
1 parent f52deb6 commit 5c94520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/analysis/analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func NewAnalysis(backend string, language string, filters []string, namespace st
break
}
}

fmt.Printf("aiprovider: %s, %s \n", aiProvider.BaseURL, aiProvider.Password)
if aiProvider.Name == "" {
color.Red("Error: AI provider %s not specified in configuration. Please run k8sgpt auth", backend)
return nil, errors.New("AI provider not specified in configuration")
Expand Down

0 comments on commit 5c94520

Please sign in to comment.