Code

store: Don't wrap JSON serialized LIST replies in a separate object.
authorSebastian Harl <sh@tokkee.org>
Fri, 19 Sep 2014 03:24:11 +0000 (20:24 -0700)
committerSebastian Harl <sh@tokkee.org>
Fri, 19 Sep 2014 03:24:11 +0000 (20:24 -0700)
commitb76ed3a2a95b45fb9a75cfd01613d826bebc9bb9
tree041f57e3e352745d147be3cf581dc074a9dd5810
parent28f5b4d2480d80440c8a444b5ee9c16f8b926947
store: Don't wrap JSON serialized LIST replies in a separate object.

Previously, the reply was {"hosts": [<list>]} while now it's just the list.
This way, the response format matches that of other commands which return host
lists.
src/core/store.c
t/unit/core/store_test.c