File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ RUN apk upgrade && apk add --no-cache bash curl
25
25
RUN addgroup -g 1001 app
26
26
RUN adduser -D -G app -u 1001 app
27
27
28
- COPY --from=builder /go/src/app/build/cosmos -validator-watcher /
28
+ COPY --from=builder /go/src/app/build/near -validator-watcher /
29
29
30
30
WORKDIR /
31
31
ENTRYPOINT ["/near-validator-watcher" ]
Original file line number Diff line number Diff line change 1
1
module github.com/kilnfi/near-validator-watcher
2
2
3
- go 1.18
3
+ go 1.20
4
4
5
5
require (
6
6
github.com/avast/retry-go/v4 v4.5.0
Original file line number Diff line number Diff line change 6
6
"os"
7
7
8
8
"github.com/kilnfi/near-validator-watcher/pkg/app"
9
- "github.com/rs/zerolog/log "
9
+ "github.com/sirupsen/logrus "
10
10
"github.com/urfave/cli/v2"
11
11
)
12
12
@@ -22,6 +22,6 @@ func main() {
22
22
}
23
23
24
24
if err := app .Run (os .Args ); err != nil && ! errors .Is (err , context .Canceled ) {
25
- log . Error (). Err ( err ).Msg ( " " )
25
+ logrus . WithError ( err ).Fatal ( "application failed " )
26
26
}
27
27
}
You can’t perform that action at this time.
0 commit comments