diff --git a/states/etcd/show/index.go b/states/etcd/show/index.go index b142126..ff343dc 100644 --- a/states/etcd/show/index.go +++ b/states/etcd/show/index.go @@ -83,6 +83,9 @@ func printIndex(index IndexInfoV1) { common.GetKVPair(indexParams, "metric_type"), ) fmt.Printf("Index Params: %s\n", common.GetKVPair(index.info.GetIndexParams(), "params")) + for _ , v := range indexParams { + fmt.Printf("%s:%s", v.GetKey(), v.GetValue()) + } fmt.Println("==================================================================") } @@ -97,4 +100,8 @@ func printIndexV2(index indexpbv2.FieldIndex) { common.GetKVPair(indexParams, "metric_type"), ) fmt.Printf("Index Params: %s\n", common.GetKVPair(index.GetIndexInfo().GetUserIndexParams(), "params")) + for _ , v := range indexParams { + fmt.Printf("%s:%s", v.GetKey(), v.GetValue()) + } + fmt.Println("==================================================================") }