Closed andrusha19 closed 3 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
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