File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,11 +136,14 @@ func (g *clientOrgOpts) run() error {
136136 if err := g .collectNamespaces (); err != nil {
137137 return err
138138 }
139+
140+ klog .Infof ("Collecting all resources from clientOrg namespaces" )
139141 err = g .collectAllResources ()
140142 if err != nil {
141143 return err
142144 }
143145
146+ klog .Infof ("Cleaning up gw resources from terminating organizations" )
144147 err = g .cleanup ()
145148 return err
146149}
Original file line number Diff line number Diff line change @@ -106,19 +106,19 @@ func getResourceHeader(res string) []byte {
106106}
107107
108108func (g * clientOrgOpts ) collectAllResources () error {
109- err := os .MkdirAll (path .Join (g .dir , "active" ), dirPerm )
110- if err != nil {
111- return err
112- }
113-
114- for _ , org := range g .activeOrganizations {
115- err := g .collectForOneOrg (org , path .Join (g .dir , "active" ))
116- if err != nil {
117- return err
118- }
119- }
120-
121- err = os .MkdirAll (path .Join (g .dir , "terminating" ), dirPerm )
109+ // err := os.MkdirAll(path.Join(g.dir, "active"), dirPerm)
110+ // if err != nil {
111+ // return err
112+ // }
113+ //
114+ // for _, org := range g.activeOrganizations {
115+ // err := g.collectForOneOrg(org, path.Join(g.dir, "active"))
116+ // if err != nil {
117+ // return err
118+ // }
119+ // }
120+
121+ err : = os .MkdirAll (path .Join (g .dir , "terminating" ), dirPerm )
122122 if err != nil {
123123 return err
124124 }
You can’t perform that action at this time.
0 commit comments