mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-08-17 15:26:37 +00:00
fix(deps): typo in prometheus.go (#1137)
fix(deps): typo in prometheus.go Signed-off-by: Ronald Petty <ronald.petty@gmail.com>
This commit is contained in:
parent
3452c0def6
commit
fad00eac49
@ -53,7 +53,7 @@ func (p *Prometheus) Deploy(namespace string) error {
|
|||||||
// manage Prometheus on the behalf of users.
|
// manage Prometheus on the behalf of users.
|
||||||
podConfigs, err := findPrometheusPodConfigs(ctx, client.GetClient(), namespace)
|
podConfigs, err := findPrometheusPodConfigs(ctx, client.GetClient(), namespace)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
color.Red("Error discovering Prometheus worklads: %v", err)
|
color.Red("Error discovering Prometheus workloads: %v", err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
if len(podConfigs) == 0 {
|
if len(podConfigs) == 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user