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