summaryrefslogtreecommitdiff
path: root/internal/storage/storage.go
diff options
context:
space:
mode:
authorLibravatar kim <grufwub@gmail.com>2025-06-10 15:43:31 +0200
committerLibravatar kim <gruf@noreply.codeberg.org>2025-06-10 15:43:31 +0200
commitd7f967cbb599c64d18fe951d1725bf3050597dda (patch)
tree061a302732684980e3dbf3f1a6012f3cbef01e26 /internal/storage/storage.go
parent[chore] Update interactionPolicy sub-policy parsing in line with documented d... (diff)
downloadgotosocial-d7f967cbb599c64d18fe951d1725bf3050597dda.tar.xz
[feature] configurable maximum thumbnail dimensions (#4258)
- adds configuration for thumbnail maximum dimensions with warning on exceeding recommendations - moves the media configuration vars into their own sub-struct - replaces the configuration flag funcs with simple string consts Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4258 Reviewed-by: tobi <kipvandenbos@noreply.codeberg.org> Co-authored-by: kim <grufwub@gmail.com> Co-committed-by: kim <grufwub@gmail.com>
Diffstat (limited to 'internal/storage/storage.go')
-rw-r--r--internal/storage/storage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/storage/storage.go b/internal/storage/storage.go
index 6c645f0ff..12e2d8fec 100644
--- a/internal/storage/storage.go
+++ b/internal/storage/storage.go
@@ -326,7 +326,7 @@ func NewS3Storage() (*Driver, error) {
case "path":
bucketLookup = minio.BucketLookupPath
default:
- log.Warnf(nil, "%s set to %s which is not recognized, defaulting to 'auto'", config.StorageS3BucketLookupFlag(), s)
+ log.Warnf(nil, "%s set to %s which is not recognized, defaulting to 'auto'", config.StorageS3BucketLookupFlag, s)
bucketLookup = minio.BucketLookupAuto
}