From 9f62950a034ca80ffed59ad833610f107f01af5b Mon Sep 17 00:00:00 2001 From: Huy TQ <5723282+imhuytq@users.noreply.github.com> Date: Thu, 16 Nov 2023 13:28:45 +0700 Subject: [PATCH] Fix confusion in RetrieverConf's struct tag declaration (#1266) --- cmd/relayproxy/config/retriever.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/relayproxy/config/retriever.go b/cmd/relayproxy/config/retriever.go index ad57f3527fb..d8cb90ee8a2 100644 --- a/cmd/relayproxy/config/retriever.go +++ b/cmd/relayproxy/config/retriever.go @@ -16,7 +16,7 @@ type RetrieverConf struct { HTTPBody string `mapstructure:"body" koanf:"body"` HTTPHeaders map[string][]string `mapstructure:"headers" koanf:"headers"` Bucket string `mapstructure:"bucket" koanf:"bucket"` - Object string `mapstructure:"bucket" koanf:"bucket"` + Object string `mapstructure:"object" koanf:"object"` Item string `mapstructure:"item" koanf:"item"` Namespace string `mapstructure:"namespace" koanf:"namespace"` ConfigMap string `mapstructure:"configmap" koanf:"configmap"`