Skip to content

Commit

Permalink
Send service object status (#209)
Browse files Browse the repository at this point in the history
Co-authored-by: Mantas Norvaisa <mantas.norvaisa@cast.ai>
  • Loading branch information
mntnorv and Mantas Norvaisa authored Jan 31, 2024
1 parent 341549e commit cb59a1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions delta/delta.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ func getContainersAndStatus(obj kube.Object) ([]castai.Container, []byte, error)
appendContainers(v.Spec.Template.Spec)
case *networkingv1.Ingress:
st, err = json.Marshal(v.Status)
case *corev1.Service:
st, err = json.Marshal(v.Status)
case *corev1.Node:
st, err = json.Marshal(v.Status)
default:
Expand Down

0 comments on commit cb59a1f

Please sign in to comment.