Skip to content

Commit a8fbbd2

Browse files
Merge pull request #67 from VaniHaripriya/RHOAIENG-6710
UPSTREAM: <carry>: Reworded logs to indicate non-critical issues and …
2 parents d0ee4ca + 3fe6837 commit a8fbbd2

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

backend/src/apiserver/client/swf.go

-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ func NewScheduledWorkflowClientOrFatal(initConnectionTimeout time.Duration, clie
6161
if err == nil {
6262
return swfClientInstance
6363
}
64-
glog.Infof("(Expected when in cluster) Failed to create scheduled workflow client by out of cluster kubeconfig. Error: %v", err)
6564

6665
glog.Infof("Starting to create scheduled workflow client by in cluster config.")
6766
b := backoff.NewExponentialBackOff()

backend/src/apiserver/main.go

+5-4
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ import (
2020
"encoding/json"
2121
"flag"
2222
"fmt"
23-
"github.com/kubeflow/pipelines/backend/src/apiserver/client"
24-
"google.golang.org/grpc/credentials"
2523
"io"
2624
"io/ioutil"
2725
"math"
@@ -32,6 +30,9 @@ import (
3230
"strings"
3331
"time"
3432

33+
"github.com/kubeflow/pipelines/backend/src/apiserver/client"
34+
"google.golang.org/grpc/credentials"
35+
3536
"github.com/fsnotify/fsnotify"
3637
"github.com/golang/glog"
3738
"github.com/gorilla/mux"
@@ -98,13 +99,13 @@ func main() {
9899
)
99100
err = loadSamples(resourceManager)
100101
if err != nil {
101-
glog.Fatalf("Failed to load samples. Err: %v", err)
102+
glog.Infof("Couldn't load optional pipeline samples: %v", err)
102103
}
103104

104105
if !common.IsMultiUserMode() {
105106
_, err = resourceManager.CreateDefaultExperiment("")
106107
if err != nil {
107-
glog.Fatalf("Failed to create default experiment. Err: %v", err)
108+
glog.Infof("Couldn't create optional default experiment: %v", err)
108109
}
109110
}
110111

0 commit comments

Comments
 (0)