mirror of https://github.com/statping/statping
line notify fixes - docker version
parent
9bdea90fb7
commit
4acc6a0f35
|
@ -1,4 +1,4 @@
|
||||||
FROM hunterlong/statup:base-v0.52
|
FROM hunterlong/statup:base-v0.55
|
||||||
MAINTAINER "Hunter Long (https://github.com/hunterlong)"
|
MAINTAINER "Hunter Long (https://github.com/hunterlong)"
|
||||||
|
|
||||||
# Locked version of Statup for 'latest' Docker tag
|
# Locked version of Statup for 'latest' Docker tag
|
||||||
|
|
4
Makefile
4
Makefile
|
@ -1,4 +1,4 @@
|
||||||
VERSION=0.54
|
VERSION=0.55
|
||||||
BINARY_NAME=statup
|
BINARY_NAME=statup
|
||||||
GOPATH:=$(GOPATH)
|
GOPATH:=$(GOPATH)
|
||||||
GOCMD=go
|
GOCMD=go
|
||||||
|
@ -92,6 +92,8 @@ docker-dev: clean docker-build-base
|
||||||
|
|
||||||
docker-push-dev:
|
docker-push-dev:
|
||||||
docker push hunterlong/statup:dev
|
docker push hunterlong/statup:dev
|
||||||
|
|
||||||
|
docker-push-cypress:
|
||||||
docker push hunterlong/statup:cypress
|
docker push hunterlong/statup:cypress
|
||||||
|
|
||||||
docker-push-latest: docker
|
docker-push-latest: docker
|
||||||
|
|
|
@ -159,7 +159,8 @@ func (u *LineNotify) OnSave() error {
|
||||||
|
|
||||||
// ON SERVICE FAILURE, DO YOUR OWN FUNCTIONS
|
// ON SERVICE FAILURE, DO YOUR OWN FUNCTIONS
|
||||||
func (u *LineNotify) Install() error {
|
func (u *LineNotify) Install() error {
|
||||||
inDb, err := lineNotify.Notification.IsInDatabase()
|
var err error
|
||||||
|
inDb := lineNotify.Notification.IsInDatabase()
|
||||||
if !inDb {
|
if !inDb {
|
||||||
newNotifer, err := InsertDatabase(u.Notification)
|
newNotifer, err := InsertDatabase(u.Notification)
|
||||||
if err != nil {
|
if err != nil {
|
Loading…
Reference in New Issue