fix: regenerate protobuf descriptor to fix slice bounds panic
All checks were successful
Test / test (push) Successful in 56s

This commit is contained in:
Graham McIntire 2026-07-25 09:37:30 -05:00
parent f0ecd9c2ce
commit 23330f0861
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59
15 changed files with 16 additions and 16 deletions

View file

@ -24,7 +24,7 @@ The Towerops agent enables customers to deploy SNMP polling infrastructure on th
Pull the latest image from Codeberg's container registry:
```bash
docker pull codeberg.org/towerops-agent/towerops-agent:latest
docker pull git.mcintire.me/towerops-agent/towerops-agent:latest
```
### Using Docker Compose
@ -36,7 +36,7 @@ version: '3.8'
services:
towerops-agent:
image: codeberg.org/towerops-agent/towerops-agent:latest
image: git.mcintire.me/towerops-agent/towerops-agent:latest
restart: unless-stopped
environment:
- TOWEROPS_AGENT_TOKEN=your-agent-token-here

View file

@ -15,7 +15,7 @@ import (
"sync/atomic"
"time"
"codeberg.org/towerops-agent/towerops-agent/pb"
"git.mcintire.me/towerops-agent/towerops-agent/pb"
"google.golang.org/protobuf/proto"
)

View file

@ -15,7 +15,7 @@ import (
"time"
"github.com/gosnmp/gosnmp"
"codeberg.org/towerops-agent/towerops-agent/pb"
"git.mcintire.me/towerops-agent/towerops-agent/pb"
"google.golang.org/protobuf/proto"
)

View file

@ -14,7 +14,7 @@ import (
"sync"
"time"
"codeberg.org/towerops-agent/towerops-agent/pb"
"git.mcintire.me/towerops-agent/towerops-agent/pb"
)
var (

View file

@ -13,7 +13,7 @@ import (
"testing"
"time"
"codeberg.org/towerops-agent/towerops-agent/pb"
"git.mcintire.me/towerops-agent/towerops-agent/pb"
)
// ---------------------------------------------------------------------------

View file

@ -1,6 +1,6 @@
services:
towerops-agent:
image: codeberg.org/towerops-agent/towerops-agent:latest
image: git.mcintire.me/towerops-agent/towerops-agent:latest
pull_policy: always
container_name: towerops-agent
restart: unless-stopped

2
go.mod
View file

@ -1,4 +1,4 @@
module codeberg.org/towerops-agent/towerops-agent
module git.mcintire.me/towerops-agent/towerops-agent
go 1.25.6

View file

@ -10,7 +10,7 @@ import (
"time"
"github.com/gosnmp/gosnmp"
"codeberg.org/towerops-agent/towerops-agent/pb"
"git.mcintire.me/towerops-agent/towerops-agent/pb"
)
// LLDP-MIB OIDs (IEEE 802.1AB)

View file

@ -10,7 +10,7 @@ import (
"strings"
"time"
"codeberg.org/towerops-agent/towerops-agent/pb"
"git.mcintire.me/towerops-agent/towerops-agent/pb"
)
const (

View file

@ -2993,7 +2993,7 @@ const file_proto_agent_proto_rawDesc = "" +
"\rLLDP_TOPOLOGY\x10\x05*\x1e\n" +
"\tQueryType\x12\a\n" +
"\x03GET\x10\x00\x12\b\n" +
"\x04WALK\x10\x01B/Z-codeberg.org/towerops-agent/towerops-agent/pbb\x06proto3"
"\x04WALK\x10\x01B2Z0git.mcintire.me/towerops-agent/towerops-agent/pbb\x06proto3"
var (
file_proto_agent_proto_rawDescOnce sync.Once

View file

@ -2,7 +2,7 @@ syntax = "proto3";
package towerops.agent;
option go_package = "codeberg.org/towerops-agent/towerops-agent/pb";
option go_package = "git.mcintire.me/towerops-agent/towerops-agent/pb";
// Configuration received from the API
message AgentConfig {

View file

@ -11,7 +11,7 @@ import (
"unicode/utf8"
"github.com/gosnmp/gosnmp"
"codeberg.org/towerops-agent/towerops-agent/pb"
"git.mcintire.me/towerops-agent/towerops-agent/pb"
)
const snmpMaxOIDsPerGet = 60

View file

@ -7,7 +7,7 @@ import (
"testing"
"github.com/gosnmp/gosnmp"
"codeberg.org/towerops-agent/towerops-agent/pb"
"git.mcintire.me/towerops-agent/towerops-agent/pb"
)
func TestSnmpValueToString(t *testing.T) {

2
ssh.go
View file

@ -9,7 +9,7 @@ import (
"strings"
"time"
"codeberg.org/towerops-agent/towerops-agent/pb"
"git.mcintire.me/towerops-agent/towerops-agent/pb"
"golang.org/x/crypto/ssh"
)

View file

@ -13,7 +13,7 @@ import (
"testing"
"time"
"codeberg.org/towerops-agent/towerops-agent/pb"
"git.mcintire.me/towerops-agent/towerops-agent/pb"
"golang.org/x/crypto/ssh"
)