diff options
author | Daniil Baturin <daniil@baturin.org> | 2017-01-06 04:49:18 +0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2017-01-06 04:49:18 +0700 |
commit | 64503e857d6e13a4af10f2d083ffa3ad95e753bd (patch) | |
tree | 53e7b382cc98498812606c75ab9ac232d718ee2d /data/vyconf.proto | |
parent | 8d0dac205219fe84dbee0162f102e67c8b2e1616 (diff) | |
download | vyconf-64503e857d6e13a4af10f2d083ffa3ad95e753bd.tar.gz vyconf-64503e857d6e13a4af10f2d083ffa3ad95e753bd.zip |
Do not require path for set/delete, add an error for trying to set a path that already exists.
Diffstat (limited to 'data/vyconf.proto')
-rw-r--r-- | data/vyconf.proto | 3 |
1 files changed, 1 insertions, 2 deletions
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 { |