New ETCD update not working.
avinvarghese opened this issue · 1 comments
avinvarghese commented
When i execute the binary from release error parsing commandline arguments: enum value must be one of bolt,consul, got 'etcd
When i try to build the code.
$ make
CGO_ENABLED=0 go build -v -ldflags '-w -X main.Version= -X main.Revision= -X "main.BuildDate=2021-02-15T14:24:52+0000" -extldflags '-static'' ./cmd/alertmanager-bot
github.com/tucnak/telebot
github.com/metalmatze/alertmanager-bot/pkg/alertmanager
# github.com/tucnak/telebot
../../tucnak/telebot/api.go:44:10: undefined: bytes.ReplaceAll
../../tucnak/telebot/api.go:45:10: undefined: bytes.ReplaceAll
../../tucnak/telebot/api.go:46:10: undefined: bytes.ReplaceAll
# github.com/metalmatze/alertmanager-bot/pkg/alertmanager
pkg/alertmanager/webhook.go:14:83: undefined: notify.WebhookMessage
pkg/alertmanager/webhook.go:27:15: undefined: notify.WebhookMessage
Makefile:42: recipe for target 'build' failed
make: *** [build] Error 2
avinvarghese commented
Updated Go version and clone the latest code. Now working.