* Fix invalid ParentObj in output
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>
* fix UT as well for ParentObj changes
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>
* remove meta.Name in false output
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>
* fix UT as well
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>
---------
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>
Co-authored-by: Aris Boutselis <arisboutselis08@gmail.com>
- Removed test cases which required access to `/root` from the
`pkg/util` package.
- Fixed flaky `PodDisruptionBudget` test.
- Fixed a typo in `PersistentVolumeClaim` test.
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com>
This commit adds new unit tests for the `pkg/util` package bumping the
code coverage to 84%
Signed-off-by: VaibhavMalik4187 <vaibhavmalik2018@gmail.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com>