Skip to content

Commit a0df2bf

Browse files
committed
Fix build
1 parent 835194b commit a0df2bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sonic_data_client/db_client.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -717,9 +717,9 @@ func tableData2Msi(tblPath *tablePath, useKey bool, op *string, msi *map[string]
717717
var key string
718718
// Split dbkey string into two parts and second part is key in table
719719
keys := strings.SplitN(dbkey, tblPath.delimitor, 2)
720-
if len(keys) < 2 {
721-
return fmt.Errorf("dbkey: %s, failed split from delimitor %v", dbkey, tblPath.delimitor)
722-
}
720+
//if len(keys) < 2 {
721+
// return fmt.Errorf("dbkey: %s, failed split from delimitor %v", dbkey, tblPath.delimitor)
722+
//}
723723
key = keys[1]
724724
err = makeJSON_redis(msi, &key, op, fv)
725725
}

0 commit comments

Comments
 (0)