mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-06-27 10:53:44 +02:00
Replace local pid module with the one located at github.com/eosswedenorg-go/pid
This commit is contained in:
parent
10a12816fa
commit
59bd699065
5 changed files with 7 additions and 38 deletions
|
|
@ -6,7 +6,7 @@ import (
|
|||
"os/signal"
|
||||
"syscall"
|
||||
"internal/log"
|
||||
"internal/pid"
|
||||
"github.com/eosswedenorg-go/pid"
|
||||
"github.com/pborman/getopt/v2"
|
||||
)
|
||||
|
||||
|
|
@ -130,7 +130,7 @@ func main() {
|
|||
|
||||
if len(pidFile) > 0 {
|
||||
log.Info("Writing pidfile: %s", pidFile)
|
||||
_, err := pid.Save(pidFile)
|
||||
err := pid.Save(pidFile)
|
||||
if err != nil {
|
||||
log.Error("Failed to write pidfile: %v", err)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue