diff --git a/internal/util/util.go b/internal/util/util.go index aa011125..b32d7c87 100644 --- a/internal/util/util.go +++ b/internal/util/util.go @@ -37,11 +37,9 @@ func TouchFile(fname string) error { _, err := os.Stat(fname) if os.IsNotExist(err) { err := os.WriteFile(fname, []byte(""), 0644) - //file, err := os.Create(fname) if err != nil { return err } - //defer file.Close() } return nil } diff --git a/tests/images/base/setup.sh b/tests/images/base/setup.sh index 9d1f7e4a..34d5ca64 100644 --- a/tests/images/base/setup.sh +++ b/tests/images/base/setup.sh @@ -1,4 +1,3 @@ - set -xe cat < /etc/apt/apt.conf.d/01buildconfig @@ -74,5 +73,5 @@ cp /var/lib/dist/base/supervisor.conf /etc/supervisor/supervisord.conf cp /var/lib/dist/base/supervisor_ssh.conf /etc/supervisor/conf.d # zookeeper -wget -nc -O - --quiet https://downloads.apache.org/zookeeper/zookeeper-${ZK_VERSION}/apache-zookeeper-${ZK_VERSION}-bin.tar.gz | tar -xz -C /opt && \ mv /opt/apache-zookeeper* /opt/zookeeper +wget -nc -O - --quiet https://archive.apache.org/zookeeper/zookeeper-${ZK_VERSION}/apache-zookeeper-${ZK_VERSION}-bin.tar.gz | tar -xz -C /opt &&