From c251f45f537d9869467e9609cefe5303d5e719d7 Mon Sep 17 00:00:00 2001 From: smruthi2187 Date: Thu, 8 Feb 2018 14:03:27 -0800 Subject: [PATCH] Adding safelist to travis.yml and correcting a typo --- .travis.yml | 8 ++++---- controller/controller.go | 2 +- environments/fetcher/cmd/main.go | 2 +- executor/executor.go | 2 +- router/router.go | 2 +- storagesvc/storagesvc.go | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 07b7a53a1..728fcf21d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,10 @@ sudo: required dist: trusty +branches: + only: + - master + language: go go: @@ -15,10 +19,6 @@ cache: services: - docker -#branches: -# only: -# - master - before_install: - sudo apt-get update - sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce diff --git a/controller/controller.go b/controller/controller.go index 6d5e6d089..12b99ac4d 100644 --- a/controller/controller.go +++ b/controller/controller.go @@ -36,7 +36,7 @@ func Start(port int) { signal.Notify(c, syscall.SIGTERM) go func() { <-c - log.Println("Recived SIGTERM : Dumping stack trace") + log.Println("Received SIGTERM : Dumping stack trace") dumpStackTrace() os.Exit(1) }() diff --git a/environments/fetcher/cmd/main.go b/environments/fetcher/cmd/main.go index 23624f55a..099e9d64b 100644 --- a/environments/fetcher/cmd/main.go +++ b/environments/fetcher/cmd/main.go @@ -31,7 +31,7 @@ func main() { signal.Notify(c, syscall.SIGTERM) go func() { <-c - log.Println("Recived SIGTERM : Dumping stack trace") + log.Println("Received SIGTERM : Dumping stack trace") dumpStackTrace() os.Exit(1) }() diff --git a/executor/executor.go b/executor/executor.go index cbc14a507..0bb224d48 100644 --- a/executor/executor.go +++ b/executor/executor.go @@ -197,7 +197,7 @@ func StartExecutor(fissionNamespace string, functionNamespace string, port int) signal.Notify(c, syscall.SIGTERM) go func() { <-c - log.Println("Recived SIGTERM : Dumping stack trace") + log.Println("Received SIGTERM : Dumping stack trace") dumpStackTrace() os.Exit(1) }() diff --git a/router/router.go b/router/router.go index cd6c9dfce..d997e8b4e 100644 --- a/router/router.go +++ b/router/router.go @@ -84,7 +84,7 @@ func Start(port int, executorUrl string) { signal.Notify(c, syscall.SIGTERM) go func() { <-c - log.Println("Recived SIGTERM : Dumping stack trace") + log.Println("Received SIGTERM : Dumping stack trace") dumpStackTrace() os.Exit(1) }() diff --git a/storagesvc/storagesvc.go b/storagesvc/storagesvc.go index 9fe978909..6de723246 100644 --- a/storagesvc/storagesvc.go +++ b/storagesvc/storagesvc.go @@ -184,7 +184,7 @@ func RunStorageService(storageType StorageType, storagePath string, containerNam signal.Notify(c, syscall.SIGTERM) go func() { <-c - log.Println("Recived SIGTERM : Dumping stack trace") + log.Println("Received SIGTERM : Dumping stack trace") dumpStackTrace() os.Exit(1) }()