mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-01 03:07:51 +08:00
[ADD] add test code
This commit is contained in:
parent
38664596b5
commit
bab4dd69cf
@ -262,6 +262,7 @@ func queryStatefulResource(m *Manager) []Resource {
|
||||
fmt.Println(StatefulSetsMap)
|
||||
for k, valuse := range StatefulSetsMap {
|
||||
StatefulSetsList, err := m.kubeclient.StatefulSets(k).List(meta_v1.ListOptions{})
|
||||
fmt.Println(StatefulSetsList.Items)
|
||||
if err != nil {
|
||||
logrus.Error(err)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user