mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
lib/promscrape/discovery/kubernetes: typo fix in error message
This commit is contained in:
parent
9761ffd161
commit
f39c84b21f
@ -586,7 +586,7 @@ func (uw *urlWatcher) readObjectUpdateStream(r io.Reader) error {
|
||||
case "ERROR":
|
||||
em, err := parseError(we.Object)
|
||||
if err != nil {
|
||||
return fmt.Errorf("cannot parse error message for from %q: %w", we.Object, err)
|
||||
return fmt.Errorf("cannot parse error message from %q: %w", we.Object, err)
|
||||
}
|
||||
if em.Code == 410 {
|
||||
// See https://kubernetes.io/docs/reference/using-api/api-concepts/#410-gone-responses
|
||||
|
Loading…
Reference in New Issue
Block a user