summaryrefslogtreecommitdiffstats
path: root/src/dkv/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/dkv/main.go')
-rw-r--r--src/dkv/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dkv/main.go b/src/dkv/main.go
index ba8f9e9..17a5818 100644
--- a/src/dkv/main.go
+++ b/src/dkv/main.go
@@ -49,7 +49,8 @@ func main() {
router.HandleFunc("/v1/config/load", api.HandleConfigLoad).Methods("POST")
// Load default configs
router.HandleFunc("/v1/config/load-default", api.HandleDefaultConfigLoad).Methods("GET")
- // Direct Consul queries.
+
+ // Direct Datastore queries.
router.HandleFunc("/v1/getconfig/{token}/{key}", api.HandleGET).Methods("GET")
// TODO(sshank): Following methods should not be allowed for all users. Remove it or make sure
// its accessible only by admin.