From f83fd496aaf91b195168a5db9721c2dbecb4fcd6 Mon Sep 17 00:00:00 2001 From: Sam Batschelet Date: Sun, 11 Jun 2017 15:55:03 -0400 Subject: [PATCH] Properly define txn endpoint. --- lib/Net/Etcd/KV/Txn.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/Net/Etcd/KV/Txn.pm b/lib/Net/Etcd/KV/Txn.pm index b5c50a4..41b2f30 100644 --- a/lib/Net/Etcd/KV/Txn.pm +++ b/lib/Net/Etcd/KV/Txn.pm @@ -49,12 +49,14 @@ a single call to MultiOp. A MultiOp is applied atomically and consists of three =head2 endpoint + /v3alpha/kv/txn + =cut has endpoint => ( is => 'ro', isa => Str, - default => '/v3alpha/kv/txn' + default => '/kv/txn' ); =head2 compare