Skip to content

Commit

Permalink
show only err msg on watch
Browse files Browse the repository at this point in the history
  • Loading branch information
kinarashah authored and Alena Prokharchyk committed Oct 3, 2019
1 parent b1eb207 commit 0ac7dd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/proxy/proxy_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ func (s *Store) realWatch(apiContext *types.APIContext, schema *types.Schema, op
for event := range watcher.ResultChan() {
if data, ok := event.Object.(*metav1.Status); ok {
// just logging it, keeping the same behavior as before
logrus.Errorf("watcher error %v", data)
logrus.Errorf("watcher error %s", data.Message)
} else {
data := event.Object.(*unstructured.Unstructured)
s.fromInternal(apiContext, schema, data.Object)
Expand Down

0 comments on commit 0ac7dd6

Please sign in to comment.