mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-06 01:38:10 +00:00
Upgraded all dependencies
This commit is contained in:
parent
01919d0ef1
commit
02f364c29b
10 changed files with 1385 additions and 578 deletions
|
|
@ -109,9 +109,10 @@ func waitForPrometheusReady(ctx context.Context, namespace string, name string)
|
|||
var reconciled, available *monitoringv1.Condition
|
||||
for _, condition := range prom.Status.Conditions {
|
||||
cond := condition
|
||||
if cond.Type == monitoringv1.Reconciled {
|
||||
switch cond.Type {
|
||||
case monitoringv1.Reconciled:
|
||||
reconciled = &cond
|
||||
} else if cond.Type == monitoringv1.Available {
|
||||
case monitoringv1.Available:
|
||||
available = &cond
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue