mirror of https://github.com/status-im/consul.git
8306b2f251
Just because Consul gives us a 404 this doesn't guarantee the KV doesn't exist, it doesn't even mean we don't have access to it. Furthermore we should never destroyRecord's without user interaction (therefore only via the repo.delete method). This switches destroyRecord to unloadRecord which performs the additional legwork to keep ember-data in sync with the actual truth. unloadRecord unloads the record from ember-data rather than sending an API delete request, which would have been the intent here. |
||
---|---|---|
.. | ||
client | ||
code-mirror | ||
repository | ||
atob.js | ||
btoa.js | ||
confirm.js | ||
dom-buffer.js | ||
dom.js | ||
error.js | ||
feedback.js | ||
form.js | ||
lazy-proxy.js | ||
logger.js | ||
repository.js | ||
search.js | ||
settings.js | ||
store.js | ||
timeout.js |