Comments (4)
Lines 354 to 362 in 269b5bd
Is that what you're looking for?
from consuldotnet.
Thanks for the reply!
That call goes to here:
Lines 370 to 376 in 269b5bd
which calls:
Line 372 in 269b5bd
which in turn calls:
Lines 56 to 67 in 269b5bd
When calling List() I am able to pass in "" for prefix to get all the entries and assumed (which could be the problem!) that passing "" into DeleteTree would "delete all", instead it throws an exception as shown above.
Is there another option (other than calling List and deleting one by one?) or is this a bug or perhaps an intentional restriction or something else?
from consuldotnet.
I don't see a way to drop all the keys without specifying a prefix from the docs https://www.consul.io/commands/kv/delete
How would you achieve this with Consul CLI?
from consuldotnet.
I don't see a way either. Ok. I'll use the workaround for now of getting all the keys and deleting them one by one.
Thanks!
from consuldotnet.
Related Issues (20)
- Support for Listing Services for Node and Retrieving Nodes that support Mesh Capable Service
- Support Getting Service Configuration
- Wanna do some contribution HOT 1
- [FEATURE REQUEST]: support weights option
- Missing features between Consul.NET (v1.7.14) and target version (v1.9.17) of Consul/Official Client
- FEATURE REQUEST: Support for List Nodes for Connect-capable Service HOT 1
- FEATURE REQUEST: Read LAN Coordinates for a node HOT 1
- FEATURE REQUEST: List Services for Gateway HOT 2
- [Bug]: Automated github build of consuldotnet broken HOT 1
- FEATURE REQUEST: Update LAN Coordinates for a node HOT 2
- Add additional TFM So Microsoft.CSharp can be externalised
- [Bug]: Consul full Url is not considered due to UriBuilder and consul call fails HOT 8
- [FEATURE REQUEST]: Connect CA Roots, return root certificates in the cluster HOT 1
- [FEATURE REQUEST]: Connect CA Leaf, returns the leaf certificate representing a single service HOT 1
- [FEATURE REQUEST]: Connect Authorize, tests whether a connection attempt is authorized between two services
- Listing all services in catalog service is missing filter parameter HOT 1
- [FEATURE REQUEST]: List Ingress Health for Service
- Fix some flaky tests:
- [FEATURE REQUEST]: Discovery Chain for a service
- Typo on front page HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from consuldotnet.