[ADD] add test code

This commit is contained in:
zhoujunhao 2018-06-13 18:30:25 +08:00
parent 38664596b5
commit bab4dd69cf

View File

@ -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)
}