File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
internal/resource/obtenantbackuppolicy Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,11 @@ func (m *ObTenantBackupPolicyManager) getDestPath(dest apitypes.BackupDestinatio
135135 destPath += ("&appid=" + string (secret .Data ["appId" ]))
136136 } else if dest .Type == constants .BackupDestTypeS3 {
137137 destPath += ("&s3_region=" + string (secret .Data ["s3Region" ]))
138+ } else if dest .Type == constants .BackupDestTypeS3Compatible {
139+ addressingModel , ok := secret .Data ["addressingModel" ]
140+ if ok {
141+ destPath += ("&addressing_model=" + string (addressingModel ))
142+ }
138143 }
139144 return destPath
140145}
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ dashboard-clean: ## Clean build
4141.PHONY : dashboard-dep-install
4242dashboard-dep-install : # # Install dependencies for oceanbase-dashboard
4343 @if [ -z " $( shell command -v swag) " ]; then \
44- go install github.com/swaggo/swag/cmd/swag@latest ; \
44+ go install github.com/swaggo/swag/cmd/swag@v1.16.3 ; \
4545 fi
4646 @if [ -z " $( shell command -v go-bindata) " ]; then \
4747 go install github.com/go-bindata/go-bindata/...@v3.1.2+incompatible; \
You can’t perform that action at this time.
0 commit comments