From 64503e857d6e13a4af10f2d083ffa3ad95e753bd Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Fri, 6 Jan 2017 04:49:18 +0700 Subject: Do not require path for set/delete, add an error for trying to set a path that already exists. --- data/vyconf.proto | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'data/vyconf.proto') diff --git a/data/vyconf.proto b/data/vyconf.proto index 1849cd4..dd2cc95 100644 --- a/data/vyconf.proto +++ b/data/vyconf.proto @@ -14,13 +14,11 @@ message Request { message Set { repeated string Path = 1; - optional string Value = 2; optional bool Ephemeral = 3; } message Delete { repeated string Path = 1; - optional string Value = 2; } message Rename { @@ -130,6 +128,7 @@ enum Status { CONFIGURATION_LOCKED = 5; INTERNAL_ERROR = 6; PERMISSION_DENIED = 7; + PATH_ALREADY_EXISTS = 8; } message Response { -- cgit v1.2.3