Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Sharkboy-j committed Dec 3, 2024
1 parent dc96db7 commit 432254e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ build:
go mod download
GOARCH=arm GOARM=7 GOOS=linux go build -o snmp_ex .
chmod +x snmp_ex
sudo docker kill ippon
sudo docker rm ippon
sudo docker build -t ippon --no-cache .
sudo docker-compose up -d
sudo docker logs ippon
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ func starts(params *gosnmp.GoSNMP, config *Config) {
}

log.Printf("Ошибка выполнения SNMP-запроса для %s: %v", oid.OID, walkErr)
continue
break
}

for _, variable := range variables {
Expand Down

0 comments on commit 432254e

Please sign in to comment.