cli/cli-plugins/manager
Paweł Gronowski 790d09e8dc
cli-plugins: Simplify addPluginCandidatesFromDir
The returned error is always nil now, so just remove it.

Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
(cherry picked from commit fcd94feefb)
Signed-off-by: Paweł Gronowski <pawel.gronowski@docker.com>
2024-11-28 14:34:24 +01:00
..
candidate.go golangci-lint: enable G204, add #nosec comments instead 2024-11-13 23:40:37 +01:00
candidate_test.go linting: address else/if/elseif statements found by gocritic 2023-11-20 16:02:16 +01:00
cobra.go plugins: fix encoding for OTEL env var passed to plugin 2024-02-28 12:43:07 -08:00
error.go update go:build tags to use go1.22 2024-11-15 11:10:35 +01:00
error_test.go linting: fmt.Errorf can be replaced with errors.New (perfsprint) 2024-06-10 21:19:31 +02:00
hooks.go plugins/hooks: Don't show empty hooks 2024-05-20 11:20:39 +02:00
hooks_test.go plugins/hooks: Don't show empty hooks 2024-05-20 11:20:39 +02:00
manager.go cli-plugins: Simplify addPluginCandidatesFromDir 2024-11-28 14:34:24 +01:00
manager_test.go cli-plugins: Simplify addPluginCandidatesFromDir 2024-11-28 14:34:24 +01:00
manager_unix.go cli-plugins/manager: add GoDoc for getPluginDirs, defaultSystemPluginDirs 2024-06-19 14:02:40 +02:00
manager_windows.go cli-plugins/manager: add GoDoc for getPluginDirs, defaultSystemPluginDirs 2024-06-19 14:02:40 +02:00
metadata.go cli-plugins: Introduce support for hooks 2024-03-22 17:30:18 +00:00
plugin.go golangci-lint: enable G204, add #nosec comments instead 2024-11-13 23:40:37 +01:00
suffix_unix.go remove pre-go1.17 build-tags 2023-05-05 18:23:03 +02:00
suffix_windows.go Check for `.exe` case insensitively 2019-01-30 13:45:26 +00:00