Skip to content

Commit

Permalink
updated logs
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Kumar Das <[email protected]>
  • Loading branch information
amityt committed Jun 29, 2023
1 parent ea27b4d commit 78348ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions chaoscenter/subscriber/pkg/events/chaosengine.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func ChaosEventWatcher(stopCh chan struct{}, stream chan types.WorkflowEvent, in

cfg, err := k8s.GetKubeConfig()
if err != nil {
logrus.WithError(err).Fatal("could not get config")
logrus.WithError(err).Fatal("could not get kube config")
}

// ClientSet to create Informer
Expand Down Expand Up @@ -89,7 +89,7 @@ func chaosEventHandler(obj interface{}, eventType string, stream chan types.Work

cfg, err := k8s.GetKubeConfig()
if err != nil {
logrus.WithError(err).Fatal("could not get config")
logrus.WithError(err).Fatal("could not get kube config")
}

chaosClient, err := litmusV1alpha1.NewForConfig(cfg)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func ChaosEventWatcher(stopCh chan struct{}, stream chan types.WorkflowEvent, cl

cfg, err := k8s.GetKubeConfig()
if err != nil {
logrus.WithError(err).Fatal("could not get config")
logrus.WithError(err).Fatal("could not get kube config")
}

// ClientSet to create Informer
Expand Down Expand Up @@ -86,7 +86,7 @@ func chaosEventHandler(obj interface{}, eventType string, stream chan types.Work

cfg, err := k8s.GetKubeConfig()
if err != nil {
logrus.WithError(err).Fatal("could not get config")
logrus.WithError(err).Fatal("could not get kube config")
}

chaosClient, err := litmusV1alpha1.NewForConfig(cfg)
Expand Down

0 comments on commit 78348ca

Please sign in to comment.