chore: fix golangci-lint errors

This commit is contained in:
Oleg Lobanov committed 2024-04-01 18:24:06 +02:00
1 parent d194d71293
commit ae0af1f996
54 files changed
+452 -475

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ var upgradeCmd = &cobra.Command{
import share links because they are incompatible with
this version.`,
Args: cobra.NoArgs,
Run: func(cmd *cobra.Command, args []string) {
Run: func(cmd *cobra.Command, _ []string) {
flags := cmd.Flags()
oldDB := mustGetString(flags, "old.database")
oldConf := mustGetString(flags, "old.config")