forked from TrueCloudLab/frostfs-http-gw
[#132] Update Go version
Signed-off-by: Nikita Zinkevich <n.zinkevich@yadro.com>
This commit is contained in:
parent
5ee09790f0
commit
151e5bc1c8
10 changed files with 16 additions and 17 deletions
|
@ -30,12 +30,12 @@ func (c *httpCarrier) Set(key string, value string) {
|
|||
func (c *httpCarrier) Keys() []string {
|
||||
dict := make(map[string]interface{})
|
||||
c.r.Request.Header.VisitAll(
|
||||
func(key, value []byte) {
|
||||
func(key, _ []byte) {
|
||||
dict[string(key)] = true
|
||||
},
|
||||
)
|
||||
c.r.Response.Header.VisitAll(
|
||||
func(key, value []byte) {
|
||||
func(key, _ []byte) {
|
||||
dict[string(key)] = true
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue