🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

Commit cf0b9e1

Browse files
committed
follow-up
Signed-off-by: Alex Aizman <alex.aizman@gmail.com>
1 parent 4d0a8a6 commit cf0b9e1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎ais/pmoss_scan.go‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"errors"
99
"fmt"
1010
"io"
11+
"strings"
1112

1213
"github.com/NVIDIA/aistore/api/apc"
1314
"github.com/NVIDIA/aistore/cmn/cos"
@@ -72,7 +73,7 @@ func mossScan(iter *jsoniter.Iterator, dfltBck *meta.Bck, smap *smapX, nat int,
7273

7374
// jsoniter callback: top-level object - looking for "in" field
7475
func (ctx *mossScanCtx) onObject(iter *jsoniter.Iterator, key string) bool {
75-
if key != "in" && key != "In" {
76+
if key != "in" && !strings.EqualFold(key, "in") {
7677
iter.Skip()
7778
return true
7879
}

0 commit comments

Comments
 (0)