Skip to content

Commit

Permalink
chore: Removing comment
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Fontes <lucas@cosmonic.com>
  • Loading branch information
lxfontes committed Sep 24, 2024
1 parent 3be17d4 commit 6e40fe7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/wasihttp/adapter.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,6 @@ func HTTPtoWASIHeader(src http.Header, dest types.Fields) error {
fieldVals = append(fieldVals, types.FieldValue(cm.ToList([]uint8(val))))
}

// TODO(rjindal): check error
res := dest.Set(key, cm.ToList(fieldVals))
if res.IsErr() {
return fmt.Errorf("failed to set header %s: %s", k, res.Err())
Expand Down

0 comments on commit 6e40fe7

Please sign in to comment.