summaryrefslogtreecommitdiff
path: root/internal/db/bundb/migrations/20220612091800_duplicated_media_cleanup.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/db/bundb/migrations/20220612091800_duplicated_media_cleanup.go')
-rw-r--r--internal/db/bundb/migrations/20220612091800_duplicated_media_cleanup.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/db/bundb/migrations/20220612091800_duplicated_media_cleanup.go b/internal/db/bundb/migrations/20220612091800_duplicated_media_cleanup.go
index fd714aa5c..ea69df0bf 100644
--- a/internal/db/bundb/migrations/20220612091800_duplicated_media_cleanup.go
+++ b/internal/db/bundb/migrations/20220612091800_duplicated_media_cleanup.go
@@ -65,7 +65,7 @@ func init() {
storageBasePath := config.GetStorageLocalBasePath()
if storageBasePath == "" {
- return fmt.Errorf("%s must be set to do storage migration", config.StorageLocalBasePathFlag())
+ return fmt.Errorf("%s must be set to do storage migration", config.StorageLocalBasePathFlag)
}
return db.RunInTx(ctx, nil, func(ctx context.Context, tx bun.Tx) error {