Merge pull request #319 from keel-hq/feature/polling_revamp

don't complain
pull/322/head
Karolis 2018-12-01 20:08:58 +00:00 committed by GitHub
commit b899c42954
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 1 deletions

View File

@ -7,6 +7,7 @@ import (
"os" "os"
"os/exec" "os/exec"
"path/filepath" "path/filepath"
"strings"
"time" "time"
"k8s.io/api/core/v1" "k8s.io/api/core/v1"
@ -88,7 +89,13 @@ func (kc *KeelCmd) Start(ctx context.Context) error {
kc.cmd = c kc.cmd = c
return c.Run() err := c.Run()
if err != nil {
if strings.Contains(err.Error(), "killed") {
return nil
}
}
return err
} }
func (kc *KeelCmd) Stop() error { func (kc *KeelCmd) Stop() error {