plugin/kubernetes: fix metadata (#3642)

Automatically submitted.
This commit is contained in:
Chris O'Haver 2020-01-31 14:35:22 -05:00 committed by GitHub
parent f77c6e55bf
commit c9d567ab44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 9 deletions

View file

@ -252,7 +252,7 @@ func (k *Kubernetes) InitKubeCache() (err error) {
// Records looks up services in kubernetes.
func (k *Kubernetes) Records(ctx context.Context, state request.Request, exact bool) ([]msg.Service, error) {
r, e := parseRequest(state)
r, e := parseRequest(state.Name(), state.Zone)
if e != nil {
return nil, e
}