diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 940d023..d1803d5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,13 +31,6 @@ repos: - id: golangci-lint-repo-mod args: [--config, .golangci.yaml, --, --fix] - - repo: https://github.com/norwoodj/helm-docs - rev: v1.13.1 - hooks: - - id: helm-docs - args: - - --chart-search-root=chart - # If this is used for business, a free license is required. # It can be obtained from https://gitleaks.io/products.html - repo: https://github.com/gitleaks/gitleaks diff --git a/config/loader.go b/config/loader.go index dd80a01..167b4d9 100644 --- a/config/loader.go +++ b/config/loader.go @@ -101,8 +101,8 @@ func SetBinaryName(name string) { // SetFs replaces the default filesystem with the provided one. // This may only be used for testing purposes. // This function is not safe for concurrent use. -func SetFs(fs afero.Fs) { - fsys = fs +func SetFs(filesystem afero.Fs) { + fsys = filesystem } // defaultFallback returns the default fallback path for the configuration file.