From 4cafd017b2d64d041f1825170267d403eaff9330 Mon Sep 17 00:00:00 2001 From: Ryan Leung Date: Wed, 8 May 2024 10:54:16 +0800 Subject: [PATCH] fix display Signed-off-by: Ryan Leung --- components/playground/playground.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/playground/playground.go b/components/playground/playground.go index 302ab8180b..d183a14de9 100644 --- a/components/playground/playground.go +++ b/components/playground/playground.go @@ -595,13 +595,13 @@ func (p *Playground) WalkInstances(fn func(componentID string, ins instance.Inst } } for _, ins := range p.tsos { - err := fn(spec.ComponentPD, ins) + err := fn(spec.ComponentTSO, ins) if err != nil { return err } } for _, ins := range p.schedulings { - err := fn(spec.ComponentPD, ins) + err := fn(spec.ComponentScheduling, ins) if err != nil { return err }