From 0ff911fdbc3fb92ae69902e5ccc3c7507bd56a57 Mon Sep 17 00:00:00 2001 From: Julian Sommer <115516918+juliansommer@users.noreply.github.com> Date: Thu, 21 May 2026 13:46:02 +1000 Subject: [PATCH] fix: change predastore node ips to 127.0.0.1 (#244) --- cmd/spinifex/cmd/templates/predastore.toml | 6 +++--- go.mod | 6 +++--- go.sum | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cmd/spinifex/cmd/templates/predastore.toml b/cmd/spinifex/cmd/templates/predastore.toml index 9c24b1484..a2c7b0bd2 100644 --- a/cmd/spinifex/cmd/templates/predastore.toml +++ b/cmd/spinifex/cmd/templates/predastore.toml @@ -51,19 +51,19 @@ secret_access_key = "{{.SecretKey}}" # Using distributed hash ring for object > shard placement. [[nodes]] id = 1 -host = "0.0.0.0" +host = "127.0.0.1" port = 9991 path = "distributed/nodes/node-1/" [[nodes]] id = 2 -host = "0.0.0.0" +host = "127.0.0.1" port = 9992 path = "distributed/nodes/node-2/" [[nodes]] id = 3 -host = "0.0.0.0" +host = "127.0.0.1" port = 9993 path = "distributed/nodes/node-3/" diff --git a/go.mod b/go.mod index 7295b00fe..42cb5463f 100644 --- a/go.mod +++ b/go.mod @@ -12,7 +12,7 @@ require ( github.com/insomniacslk/dhcp v0.0.0-20260407060928-11b94ed970f2 github.com/kdomanski/iso9660 v0.4.0 github.com/klauspost/cpuid/v2 v2.3.0 - github.com/mulgadc/predastore v1.4.0 + github.com/mulgadc/predastore v1.4.1 github.com/mulgadc/viperblock v1.4.2 github.com/nats-io/nats-server/v2 v2.14.0 github.com/nats-io/nats.go v1.52.0 @@ -24,7 +24,9 @@ require ( github.com/stretchr/testify v1.11.1 go.uber.org/goleak v1.3.0 golang.org/x/crypto v0.51.0 + golang.org/x/sync v0.20.0 gopkg.in/ini.v1 v1.67.2 + gopkg.in/yaml.v3 v3.0.1 ) require ( @@ -122,7 +124,6 @@ require ( go.yaml.in/yaml/v3 v3.0.4 // indirect golang.org/x/mod v0.35.0 // indirect golang.org/x/net v0.54.0 // indirect - golang.org/x/sync v0.20.0 // indirect golang.org/x/sys v0.44.0 // indirect golang.org/x/telemetry v0.0.0-20260409153401-be6f6cb8b1fa // indirect golang.org/x/term v0.43.0 // indirect @@ -131,7 +132,6 @@ require ( golang.org/x/tools v0.44.0 // indirect golang.org/x/vuln v1.1.4 // indirect google.golang.org/protobuf v1.36.11 // indirect - gopkg.in/yaml.v3 v3.0.1 // indirect ) tool golang.org/x/vuln/cmd/govulncheck diff --git a/go.sum b/go.sum index a86a0c447..e4f23eb92 100644 --- a/go.sum +++ b/go.sum @@ -286,8 +286,8 @@ github.com/muesli/cancelreader v0.2.2 h1:3I4Kt4BQjOR54NavqnDogx/MIoWBFa0StPA8ELU github.com/muesli/cancelreader v0.2.2/go.mod h1:3XuTXfFS2VjM+HTLZY9Ak0l6eUKfijIfMUZ4EgX0QYo= github.com/muesli/termenv v0.16.0 h1:S5AlUN9dENB57rsbnkPyfdGuWIlkmzJjbFf0Tf5FWUc= github.com/muesli/termenv v0.16.0/go.mod h1:ZRfOIKPFDYQoDFF4Olj7/QJbW60Ol/kL1pU3VfY/Cnk= -github.com/mulgadc/predastore v1.4.0 h1:txPZCaVT1cDpBotx8zHPXHZD3Mz62+n207zXISkK4uU= -github.com/mulgadc/predastore v1.4.0/go.mod h1:fXIGz7yCKcHh68ybcw7aigdOdzIfyt19h/0diPF+JCU= +github.com/mulgadc/predastore v1.4.1 h1:Eyf31mLeJHz0a13NvoEa1s5/Pnxh7s0Hcn/Xdmm2zMs= +github.com/mulgadc/predastore v1.4.1/go.mod h1:fXIGz7yCKcHh68ybcw7aigdOdzIfyt19h/0diPF+JCU= github.com/mulgadc/viperblock v1.4.2 h1:05mp5kCIar70pxkYx/xFA0lGK9PfR87WGNxUSn34Dbg= github.com/mulgadc/viperblock v1.4.2/go.mod h1:hHdfo02iJgCdNktiPAq+x+VQE0ZNYOLJXw0abJ81LeE= github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=