Lint: Update linter config

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2024-09-22 13:10:07 +02:00
parent 4c2b5441d8
commit 28c8eda61e
No known key found for this signature in database
6 changed files with 12 additions and 14 deletions

View file

@ -72,7 +72,7 @@ func fetchRunE(cmd *cobra.Command, args []string) error {
func storeAttachment(dir string, f client.SecretAttachment) error {
// First lets find a free file name to save the file as
var (
fileNameFragments = strings.SplitN(f.Name, ".", 2) //nolint:gomnd
fileNameFragments = strings.SplitN(f.Name, ".", 2) //nolint:mnd
i int
storeName = path.Join(dir, f.Name)
storeNameTpl string