mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/promscrape/discovery/kubernetes: typo fix in error message
This commit is contained in:
parent
a920e71809
commit
7d87d42a91
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue