| 157 | } |
| 158 | |
| 159 | static struct command_result * |
| 160 | datastore_del_success(struct command *cmd, |
| 161 | const char *method, |
| 162 | const char *buf, |
| 163 | const jsmntok_t *result, |
| 164 | void *data UNUSED) |
| 165 | { |
| 166 | /* Cool we deleted some stuff */ |
| 167 | plugin_log(cmd->plugin, LOG_DBG, |
| 168 | "`datastore` del succeeded: %.*s", |
| 169 | json_tok_full_len(result), |
| 170 | json_tok_full(buf, result)); |
| 171 | |
| 172 | return notification_handled(cmd); |
| 173 | } |
| 174 | |
| 175 | static struct command_result * |
| 176 | datastore_add_fail(struct command *cmd, |
nothing calls this directly
no test coverage detected