[#XX] lens/explorer: Fix locked object records display text
Some checks failed
DCO action / DCO (pull_request) Failing after 1m37s
Tests and linters / Run gofumpt (pull_request) Successful in 2m2s
Pre-commit hooks / Pre-commit (pull_request) Successful in 2m59s
Vulncheck / Vulncheck (pull_request) Successful in 2m57s
Tests and linters / gopls check (pull_request) Successful in 3m1s
Build / Build Components (pull_request) Successful in 3m12s
Tests and linters / Staticcheck (pull_request) Successful in 3m43s
Tests and linters / Lint (pull_request) Successful in 4m0s
Tests and linters / Tests (pull_request) Successful in 6m37s
Tests and linters / Tests with -race (pull_request) Successful in 6m42s
Some checks failed
DCO action / DCO (pull_request) Failing after 1m37s
Tests and linters / Run gofumpt (pull_request) Successful in 2m2s
Pre-commit hooks / Pre-commit (pull_request) Successful in 2m59s
Vulncheck / Vulncheck (pull_request) Successful in 2m57s
Tests and linters / gopls check (pull_request) Successful in 3m1s
Build / Build Components (pull_request) Successful in 3m12s
Tests and linters / Staticcheck (pull_request) Successful in 3m43s
Tests and linters / Lint (pull_request) Successful in 4m0s
Tests and linters / Tests (pull_request) Successful in 6m37s
Tests and linters / Tests with -race (pull_request) Successful in 6m42s
Display texts for a locked object and a list of it lockers were mistakenly swapped. Signed-off-by: Aleksey Savchuk <a.savchuk@yadro.com>
This commit is contained in:
parent
acd6eb1815
commit
ff2bec8f71
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ func (r *ContainerVolumeRecord) String() string {
|
||||||
|
|
||||||
func (r *LockedRecord) String() string {
|
func (r *LockedRecord) String() string {
|
||||||
return fmt.Sprintf(
|
return fmt.Sprintf(
|
||||||
"Locker OID %s %c Locked [%d]OID {...}",
|
"Object OID %s %c Lockers [%d]OID {...}",
|
||||||
common.FormatSimple(fmt.Sprintf("%-44s", r.id), tcell.ColorAqua),
|
common.FormatSimple(fmt.Sprintf("%-44s", r.id), tcell.ColorAqua),
|
||||||
tview.Borders.Vertical,
|
tview.Borders.Vertical,
|
||||||
len(r.ids),
|
len(r.ids),
|
||||||
|
|
Loading…
Reference in a new issue