@@ -88,7 +88,7 @@ func (adm *AdminClient) SiteReplicationAdd(ctx context.Context, sites []PeerSite
88
88
q .Set ("api-version" , SiteReplAPIVersion )
89
89
90
90
reqData := requestData {
91
- relPath : adminAPIPrefixV3 + "/site-replication/add" ,
91
+ relPath : adminAPIPrefixV4 + "/site-replication/add" ,
92
92
content : encBytes ,
93
93
queryValues : q ,
94
94
}
@@ -131,7 +131,7 @@ func (adm *AdminClient) SiteReplicationInfo(ctx context.Context) (info SiteRepli
131
131
q .Set ("api-version" , SiteReplAPIVersion )
132
132
133
133
reqData := requestData {
134
- relPath : adminAPIPrefixV3 + "/site-replication/info" ,
134
+ relPath : adminAPIPrefixV4 + "/site-replication/info" ,
135
135
queryValues : q ,
136
136
}
137
137
@@ -209,7 +209,7 @@ func (adm *AdminClient) SRPeerJoin(ctx context.Context, r SRPeerJoinReq) error {
209
209
q .Set ("api-version" , SiteReplAPIVersion )
210
210
211
211
reqData := requestData {
212
- relPath : adminAPIPrefixV3 + "/site-replication/peer/join" ,
212
+ relPath : adminAPIPrefixV4 + "/site-replication/peer/join" ,
213
213
content : encBuf ,
214
214
queryValues : q ,
215
215
}
@@ -261,7 +261,7 @@ func (adm *AdminClient) SRPeerBucketOps(ctx context.Context, bucket string, op B
261
261
262
262
reqData := requestData {
263
263
queryValues : v ,
264
- relPath : adminAPIPrefixV3 + "/site-replication/peer/bucket-ops" ,
264
+ relPath : adminAPIPrefixV4 + "/site-replication/peer/bucket-ops" ,
265
265
}
266
266
267
267
resp , err := adm .executeMethod (ctx , http .MethodPut , reqData )
@@ -467,7 +467,7 @@ func (adm *AdminClient) SRPeerReplicateIAMItem(ctx context.Context, item SRIAMIt
467
467
q .Add ("api-version" , SiteReplAPIVersion )
468
468
469
469
reqData := requestData {
470
- relPath : adminAPIPrefixV3 + "/site-replication/peer/iam-item" ,
470
+ relPath : adminAPIPrefixV4 + "/site-replication/peer/iam-item" ,
471
471
content : b ,
472
472
queryValues : q ,
473
473
}
@@ -548,7 +548,7 @@ func (adm *AdminClient) SRPeerReplicateBucketMeta(ctx context.Context, item SRBu
548
548
q .Set ("api-version" , SiteReplAPIVersion )
549
549
550
550
reqData := requestData {
551
- relPath : adminAPIPrefixV3 + "/site-replication/peer/bucket-meta" ,
551
+ relPath : adminAPIPrefixV4 + "/site-replication/peer/bucket-meta" ,
552
552
content : b ,
553
553
queryValues : q ,
554
554
}
@@ -656,7 +656,7 @@ func (adm *AdminClient) SRPeerGetIDPSettings(ctx context.Context) (info IDPSetti
656
656
q .Set ("api-version" , SiteReplAPIVersion )
657
657
658
658
reqData := requestData {
659
- relPath : adminAPIPrefixV3 + "/site-replication/peer/idp-settings" ,
659
+ relPath : adminAPIPrefixV4 + "/site-replication/peer/idp-settings" ,
660
660
queryValues : q ,
661
661
}
662
662
@@ -725,7 +725,7 @@ func (adm *AdminClient) SRMetaInfo(ctx context.Context, opts SRStatusOptions) (i
725
725
q .Set ("api-version" , SiteReplAPIVersion )
726
726
727
727
reqData := requestData {
728
- relPath : adminAPIPrefixV3 + "/site-replication/metainfo" ,
728
+ relPath : adminAPIPrefixV4 + "/site-replication/metainfo" ,
729
729
queryValues : q ,
730
730
}
731
731
@@ -967,7 +967,7 @@ func (adm *AdminClient) SRStatusInfo(ctx context.Context, opts SRStatusOptions)
967
967
q .Set ("api-version" , SiteReplAPIVersion )
968
968
969
969
reqData := requestData {
970
- relPath : adminAPIPrefixV3 + "/site-replication/status" ,
970
+ relPath : adminAPIPrefixV4 + "/site-replication/status" ,
971
971
queryValues : q ,
972
972
}
973
973
@@ -1020,7 +1020,7 @@ func (adm *AdminClient) SiteReplicationEdit(ctx context.Context, site PeerInfo,
1020
1020
q .Set ("api-version" , SiteReplAPIVersion )
1021
1021
1022
1022
reqData := requestData {
1023
- relPath : adminAPIPrefixV3 + "/site-replication/edit" ,
1023
+ relPath : adminAPIPrefixV4 + "/site-replication/edit" ,
1024
1024
content : encBytes ,
1025
1025
queryValues : q ,
1026
1026
}
@@ -1052,7 +1052,7 @@ func (adm *AdminClient) SRPeerEdit(ctx context.Context, pi PeerInfo) error {
1052
1052
q .Set ("api-version" , SiteReplAPIVersion )
1053
1053
1054
1054
reqData := requestData {
1055
- relPath : adminAPIPrefixV3 + "/site-replication/peer/edit" ,
1055
+ relPath : adminAPIPrefixV4 + "/site-replication/peer/edit" ,
1056
1056
content : b ,
1057
1057
queryValues : q ,
1058
1058
}
@@ -1082,7 +1082,7 @@ func (adm *AdminClient) SRStateEdit(ctx context.Context, state SRStateEditReq) e
1082
1082
q .Set ("api-version" , SiteReplAPIVersion )
1083
1083
1084
1084
reqData := requestData {
1085
- relPath : adminAPIPrefixV3 + "/site-replication/state/edit" ,
1085
+ relPath : adminAPIPrefixV4 + "/site-replication/state/edit" ,
1086
1086
content : b ,
1087
1087
queryValues : q ,
1088
1088
}
@@ -1110,7 +1110,7 @@ func (adm *AdminClient) SiteReplicationRemove(ctx context.Context, removeReq SRR
1110
1110
q .Set ("api-version" , SiteReplAPIVersion )
1111
1111
1112
1112
reqData := requestData {
1113
- relPath : adminAPIPrefixV3 + "/site-replication/remove" ,
1113
+ relPath : adminAPIPrefixV4 + "/site-replication/remove" ,
1114
1114
content : rmvBytes ,
1115
1115
queryValues : q ,
1116
1116
}
@@ -1140,7 +1140,7 @@ func (adm *AdminClient) SRPeerRemove(ctx context.Context, removeReq SRRemoveReq)
1140
1140
q .Set ("api-version" , SiteReplAPIVersion )
1141
1141
1142
1142
reqData := requestData {
1143
- relPath : adminAPIPrefixV3 + "/site-replication/peer/remove" ,
1143
+ relPath : adminAPIPrefixV4 + "/site-replication/peer/remove" ,
1144
1144
content : reqBytes ,
1145
1145
queryValues : q ,
1146
1146
}
@@ -1227,7 +1227,7 @@ func (adm *AdminClient) SiteReplicationResyncOp(ctx context.Context, site PeerIn
1227
1227
v .Set ("api-version" , SiteReplAPIVersion )
1228
1228
1229
1229
reqData := requestData {
1230
- relPath : adminAPIPrefixV3 + "/site-replication/resync/op" ,
1230
+ relPath : adminAPIPrefixV4 + "/site-replication/resync/op" ,
1231
1231
content : reqBytes ,
1232
1232
queryValues : v ,
1233
1233
}
0 commit comments