Browse Source
Remove deprecated functions: use new path-based functions directly
Remove deprecated functions: use new path-based functions directly
Remove deprecated wrapper functions and update all callers to use the new function names directly. Removed: - genPartUploadUrl() → all callers now use genPartUploadPath() - toFilerUrl() → all callers now use toFilerPath() - SetFilerClient() → removed along with fallback code Updated: - s3api_object_handlers_multipart.go: uploadUrl → filePath - s3api_object_handlers_put.go: uploadUrl → filePath, versionUploadUrl → versionFilePath - s3api_object_versioning.go: toFilerUrl → toFilerPath - s3api_object_handlers_test.go: toFilerUrl → toFilerPath - auth_credentials.go: removed SetFilerClient fallback - filer_etc_store.go: removed deprecated SetFilerClient method Benefits: - Cleaner codebase with no deprecated functions - All variable names accurately reflect that they're paths, not URLs - Single interface for credential stores (SetFilerAddressFunc only) All code now consistently uses the new path-based approach.pull/7550/head
7 changed files with 18 additions and 49 deletions
-
11weed/credential/filer_etc/filer_etc_store.go
-
16weed/s3api/auth_credentials.go
-
5weed/s3api/s3api_object_handlers.go
-
9weed/s3api/s3api_object_handlers_multipart.go
-
18weed/s3api/s3api_object_handlers_put.go
-
2weed/s3api/s3api_object_handlers_test.go
-
6weed/s3api/s3api_object_versioning.go
Write
Preview
Loading…
Cancel
Save
Reference in new issue