woodpecker/cmd/agent
6543 92614dfb1e
Agent check gRPC version against server (#1653)
close #1114

As long as the `VersionResponse` type is not changed the check will
fail/pass gracefully

example output:
```
{"level":"error","error":"GRPC version mismatch","time":"2023-03-19T19:49:09+01:00","message":"Server version next-6923e7ab does report grpc version 2 but we only understand 1"}
GRPC version mismatch
```
2023-03-19 22:42:21 +01:00
..
agent.go Agent check gRPC version against server (#1653) 2023-03-19 22:42:21 +01:00
flags.go Various enhancements in configuration (#1645) 2023-03-19 20:24:43 +01:00
health.go Fix linter (#1647) 2023-03-18 20:35:27 +01:00
health_test.go Create agent/ package for backend agnostic logic (#338) 2021-09-23 16:58:12 +02:00
main.go Upgrade urfave/cli to v2 (#483) 2021-10-27 21:03:14 +02:00