mirror of
https://github.com/Luzifer/ots.git
synced 2025-05-14 12:02:23 -04:00
Lint: Update linter config
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
4c2b5441d8
commit
28c8eda61e
6 changed files with 12 additions and 14 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue