fixup for latest micro
Some checks failed
coverage / build (push) Failing after 1m7s
test / test (push) Successful in 4m18s
sync / sync (push) Successful in 19s

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2025-04-29 14:25:11 +03:00
parent 984c6495c6
commit db910c9ff5
6 changed files with 67 additions and 68 deletions

View File

@@ -23,8 +23,8 @@ func FillRequest(ctx context.Context, req interface{}, opts ...FillRequestOption
for idx := 0; idx < len(options.headers)/2; idx += 2 {
k := options.headers[idx]
v, ok := md.Get(k)
if !ok {
v := md.Get(k)
if v == nil {
continue
}
@@ -38,7 +38,7 @@ func FillRequest(ctx context.Context, req interface{}, opts ...FillRequestOption
}
}
cookieVals, _ := md.Get("Cookie")
cookieVals := md.Get("Cookie")
for i := range cookieVals {
cookies := strings.Split(cookieVals[i], ";")
cmd := make(map[string]string, len(cookies))