Skip to content

Commit

Permalink
fixup! kola/test/discovery: use etcdctl/v2 in sudo mode
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathieu Tortuyaux committed Aug 25, 2021
1 parent e80cccf commit 816bf24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kola/tests/etcd/discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func etcdMemberV2BackupRestore(c cluster.TestCluster) {
backup_to="$(mktemp -d)"
sudo -E etcdctl backup --data-dir=/var/lib/etcd \
sudo --preserve-env=ETCDCTL_API etcdctl backup --data-dir=/var/lib/etcd \
--backup-dir "${backup_to}"
etcdctl rm /$prefix/test
Expand Down

0 comments on commit 816bf24

Please sign in to comment.