diff --git a/biz/config.go b/biz/config.go index a3f87f3..16c22ee 100644 --- a/biz/config.go +++ b/biz/config.go @@ -103,7 +103,7 @@ func (s *ConfigAPIService) ListConfig(ctx context.Context, req *pb.ListConfigReq } for idx, cfg := range configs { - if cfg.IsSecret { + if cfg.IsSecret && cfg.Value != "" { configs[idx].Value = "******" } }