Skip to content

Commit

Permalink
UPSTREAM: <carry>: Reworded logs to indicate non-critical issues and …
Browse files Browse the repository at this point in the history
…provide informational context

Signed-off-by: vmudadla <vmudadla@redhat.com>
  • Loading branch information
VaniHaripriya committed Aug 13, 2024
1 parent bbfb589 commit 3fe6837
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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

0 comments on commit 3fe6837

Please sign in to comment.