Skip to content

Commit

Permalink
Test fix (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
noname0443 authored Oct 12, 2023
1 parent c6874ee commit d91b54a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions internal/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion tests/images/base/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,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 && \
wget -nc -O - --quiet https://archive.apache.org/dist/zookeeper/zookeeper-${ZK_VERSION}/apache-zookeeper-${ZK_VERSION}-bin.tar.gz | tar -xz -C /opt && \
mv /opt/apache-zookeeper* /opt/zookeeper

0 comments on commit d91b54a

Please sign in to comment.