Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UPSTREAM: <carry>: Reworded logs to indicate non-critical issues and … #67

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion backend/src/apiserver/client/swf.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ func NewScheduledWorkflowClientOrFatal(initConnectionTimeout time.Duration, clie
if err == nil {
return swfClientInstance
}
glog.Infof("(Expected when in cluster) Failed to create scheduled workflow client by out of cluster kubeconfig. Error: %v", err)

glog.Infof("Starting to create scheduled workflow client by in cluster config.")
b := backoff.NewExponentialBackOff()
Expand Down
9 changes: 5 additions & 4 deletions backend/src/apiserver/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ import (
"encoding/json"
"flag"
"fmt"
"github.com/kubeflow/pipelines/backend/src/apiserver/client"
"google.golang.org/grpc/credentials"
"io"
"io/ioutil"
"math"
Expand All @@ -32,6 +30,9 @@ import (
"strings"
"time"

"github.com/kubeflow/pipelines/backend/src/apiserver/client"
"google.golang.org/grpc/credentials"

"github.com/fsnotify/fsnotify"
"github.com/golang/glog"
"github.com/gorilla/mux"
Expand Down Expand Up @@ -98,13 +99,13 @@ func main() {
)
err = loadSamples(resourceManager)
if err != nil {
glog.Fatalf("Failed to load samples. Err: %v", err)
glog.Infof("Couldn't load optional pipeline samples: %v", err)
}

if !common.IsMultiUserMode() {
_, err = resourceManager.CreateDefaultExperiment("")
if err != nil {
glog.Fatalf("Failed to create default experiment. Err: %v", err)
glog.Infof("Couldn't create optional default experiment: %v", err)
}
}

Expand Down
Loading