mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
refactor(master): resolve conflicts when picking to master branch. #22906448
Signed-off-by: Victor1319 <zengxuewei@oppo.com>
This commit is contained in:
parent
7c0e8fa470
commit
0c406f55d9
@ -1136,6 +1136,7 @@ func formatQuotaInfo(info *proto.QuotaInfo) string {
|
||||
}
|
||||
|
||||
var badDiskDetailTableRowPattern = "%-18v %-18v %-18v %-18v %-18v"
|
||||
|
||||
func formatBadDiskTableHeader() string {
|
||||
return fmt.Sprintf(badDiskDetailTableRowPattern, "Address", "Path", "TotalPartitionCnt", "DiskErrPartitionCnt", "PartitionIdsWithDiskErr")
|
||||
}
|
||||
|
||||
@ -31,7 +31,7 @@ EOF
|
||||
}
|
||||
|
||||
#compose="docker-compose --env-file ${RootPath}/docker/run_docker.env -f ${RootPath}/docker/docker-compose-hy.yml"
|
||||
compose="docker-compose --env-file ${RootPath}/docker/run_docker.env -f ${RootPath}/docker/docker-compose.yml"
|
||||
compose="docker compose --env-file ${RootPath}/docker/run_docker.env -f ${RootPath}/docker/docker-compose.yml"
|
||||
|
||||
has_go() {
|
||||
if command -v go &> /dev/null
|
||||
|
||||
@ -225,7 +225,6 @@ func (o *ObjectNode) validateAuthInfo(r *http.Request, auth Auther) (err error)
|
||||
GetRequestID(r), reqAK, auth.StringToSign(), auth.CanonicalRequest())
|
||||
return SignatureDoesNotMatch
|
||||
}
|
||||
}
|
||||
|
||||
if stsInfo != nil {
|
||||
if o.stsNotAllowedActions.Contains(param.action) {
|
||||
|
||||
@ -725,7 +725,6 @@ func (api *AdminAPI) QueryDisks(addr string) (disks *proto.DiskInfos, err error)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
func (api *AdminAPI) DiskDetail(addr string, diskPath string) (disk *proto.DiskInfo, err error) {
|
||||
disk = &proto.DiskInfo{}
|
||||
err = api.mc.requestWith(disk, newRequest(get, proto.QueryDiskDetail).Header(api.h).
|
||||
|
||||
Loading…
Reference in New Issue
Block a user