fix: bump go 1.26.1 references and fix gosec G104 in hiveui

This commit is contained in:
Julian Sommer
2026-03-10 08:33:04 +10:00
parent 7b590957e1
commit 021b0982f4
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ func (ln *tlsSplitListener) Accept() (net.Conn, error) {
var buf [1]byte
if _, err := io.ReadFull(conn, buf[:]); err != nil {
conn.Close()
_ = conn.Close()
continue
}
+1 -1
View File
@@ -7,7 +7,7 @@ Builds a Proxmox VM template with all Hive dependencies pre-installed. Cloning f
| Component | Details |
|---|---|
| System packages | QEMU, nbdkit, libvirt, gcc, jq, curl, etc. (`make install-system`) |
| Go | 1.26.0 (`make install-go`) |
| Go | 1.26.1 (`make install-go`) |
| AWS CLI | v2 (`make install-aws`) |
| Repositories | hive, viperblock, predastore (with `go.work` configured) |
| Module cache | `go mod download` completed for all repos |
+2 -2
View File
@@ -5,8 +5,8 @@
sudo apt update
sudo apt install -y make gcc git
wget https://go.dev/dl/go1.26.0.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.26.0.linux-amd64.tar.gz
wget https://go.dev/dl/go1.26.1.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.26.1.linux-amd64.tar.gz
echo "export PATH=$PATH:/usr/local/go/bin" >> $HOME/.bashrc
source $HOME/.bashrc
+1 -1
View File
@@ -37,7 +37,7 @@ RUN mkdir -p /root/images && \
# 1. Pre-copy dependency manifests for cache layer
# go.work is gitignored (generated by init-workspace.sh), so create it inline
RUN printf 'go 1.26.0\n\nuse (\n\t./hive\n\t./predastore\n\t./viperblock\n)\n' > go.work
RUN printf 'go 1.26.1\n\nuse (\n\t./hive\n\t./predastore\n\t./viperblock\n)\n' > go.work
COPY hive/go.mod hive/go.sum ./hive/
COPY viperblock/go.mod viperblock/go.sum ./viperblock/
COPY viperblock/nbd/go.mod viperblock/nbd/go.sum ./viperblock/nbd/