Skip to content

Commit

Permalink
test/suites/clustering: fix variable shadowing/reuse/uninit
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel authored and tomponline committed Jul 22, 2024
1 parent 2dc864d commit 1b53a6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/suites/clustering.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2111,12 +2111,12 @@ test_clustering_image_replication() {
}

test_clustering_dns() {
# shellcheck disable=2039,3043
local LXD_DIR
local lxdDir

# Because we do not want tests to only run on Ubuntu (due to cluster's fan network dependency)
# instead we will just spawn forkdns directly and check DNS resolution.

# XXX: make a copy of the global LXD_DIR
# shellcheck disable=SC2031
lxdDir="${LXD_DIR}"
prefix="lxd$$"
Expand Down

0 comments on commit 1b53a6f

Please sign in to comment.