As it turned out, people make mistakes and forget to write some parts of code, unless a unit test screams at them. This is true for the `InheritFrom()` method, which is not handling all members of the `ImageConfig` structure. Use reflection, instead of inheriting from each specific hard-coded structure member. This will make the implementation future-proof in case the `ImageConfig` structure is extended with additional members. |
||
|---|---|---|
| .. | ||
| distro_test_common | ||
| fedora | ||
| rhel7 | ||
| rhel8 | ||
| rhel9 | ||
| test_distro | ||
| distro.go | ||
| distro_test.go | ||
| image_config.go | ||
| image_config_test.go | ||