From 7aceb82b633dcbb4aeba761ca452eaba396e2719 Mon Sep 17 00:00:00 2001
From: Alexander Turenko <alexander.turenko@tarantool.org>
Date: Tue, 22 Aug 2023 19:07:28 +0300
Subject: [PATCH] test/config: fix password format in etcd example

The instance config schema was changed in commit 4bb1eb0ed968 ("config:
remove hashes from credentials.password"), but an example of a config
for etcd was not updated.

The example is tested on Tarantool EE, so we should update it to fix the
testing failure.

Part of #8967

NO_DOC=It is a fix of the testing problem.
NO_CHANGELOG=see NO_DOC
NO_TEST=It is a fix of a test in fact.
---
 doc/examples/config/etcd/remote.yaml | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/doc/examples/config/etcd/remote.yaml b/doc/examples/config/etcd/remote.yaml
index 13dddfaf66..c037ac2f37 100644
--- a/doc/examples/config/etcd/remote.yaml
+++ b/doc/examples/config/etcd/remote.yaml
@@ -1,12 +1,10 @@
 credentials:
   users:
     replicator:
-      password:
-        plain: 'topsecret'
+      password: 'topsecret'
       roles: [replication]
     client:
-      password:
-        plain: 'secret'
+      password: 'secret'
       roles: [super]
 
 groups:
-- 
GitLab