mirror of https://github.com/k3s-io/k3s
f485cb790f
Automatic merge from submit-queue (batch tested with PRs 64416, 63625, 60967, 64767, 64588). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Remove mount.GetMountRefs in favor of mounter.GetMountRefs **What this PR does / why we need it**: Currently, there are two `GetMountRefs` functions: - `mount.GetMountRefs`: used in various volume plugins - `<mounter>.GetMountRefs` (previously `mount.GetMountRefsByDev` introduced in [#49988](https://github.com/kubernetes/kubernetes/pull/49988/files#diff-0c0020e71c995790a90ad9c61ede7632R154), moved to `Mounter` interface in #62903) This is confusing, and it's better to implement `GetMountRefs` on mounter interface, because different mounters can have their own implementation (especially for nsenter). This pr removes `mount.GetMountRefs` in favor of mounter.GetMountRefs. More discussions: https://github.com/kubernetes/kubernetes/pull/62102#issuecomment-390081884 and https://github.com/kubernetes/kubernetes/pull/62102#issuecomment-390123022. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes # **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` |
||
---|---|---|
.. | ||
BUILD | ||
OWNERS | ||
attacher.go | ||
azure_common.go | ||
azure_common_linux.go | ||
azure_common_test.go | ||
azure_common_unsupported.go | ||
azure_common_windows.go | ||
azure_dd.go | ||
azure_dd_block.go | ||
azure_dd_block_test.go | ||
azure_dd_test.go | ||
azure_mounter.go | ||
azure_provision.go |