Commit bb79a83
committed
kvs: use optional key when unpacking json
Problem: In lookup_common() multiple calls to flux_request_unpack() are
made for optional json keys. This is likely legacy from before jansson's
"?" optional flag was available.
Remove the excess calls to flux_request_unpack(), using the "?" optional
flag as needed.1 parent 3d8207b commit bb79a83
1 file changed
+6
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1317 | 1317 | | |
1318 | 1318 | | |
1319 | 1319 | | |
1320 | | - | |
| 1320 | + | |
| 1321 | + | |
1321 | 1322 | | |
1322 | | - | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
1323 | 1327 | | |
1324 | 1328 | | |
1325 | 1329 | | |
1326 | 1330 | | |
1327 | | - | |
1328 | | - | |
1329 | | - | |
1330 | | - | |
1331 | | - | |
1332 | | - | |
1333 | | - | |
1334 | | - | |
1335 | | - | |
1336 | | - | |
1337 | | - | |
1338 | | - | |
1339 | 1331 | | |
1340 | 1332 | | |
1341 | 1333 | | |
| |||
0 commit comments