Closed andrusha19 closed 4 months ago
Fix issue with empty Kind field in ParentResource
When pod kind is NOT one of [StatefulSet, DaemonSet, ReplicaSet, ReplicaController] then method workloads.GetPodOwnerTypeAndName will return empty kind, but not empty name https://github.com/litmuschaos/litmus-go/blob/master/pkg/workloads/workloads.go#L75
fixes #698
Hi, @neelanjan00 Could you look at this. It's quite straight forward Thanks
LGTM! @ispeakc0de can you please review and approve?
Fix issue with empty Kind field in ParentResource
When pod kind is NOT one of [StatefulSet, DaemonSet, ReplicaSet, ReplicaController] then method workloads.GetPodOwnerTypeAndName will return empty kind, but not empty name https://github.com/litmuschaos/litmus-go/blob/master/pkg/workloads/workloads.go#L75
fixes #698