File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -182,15 +182,13 @@ Try:
182182 hostFile , err := txeh .NewHostsDefault ()
183183 if err != nil {
184184 log .Fatalf ("HostFile error: %s" , err .Error ())
185- os .Exit (1 )
186185 }
187186
188187 log .Printf ("Loaded hosts file %s\n " , hostFile .ReadFilePath )
189188
190189 msg , err := fwdhost .BackupHostFile (hostFile )
191190 if err != nil {
192191 log .Fatalf ("Error backing up hostfile: %s\n " , err .Error ())
193- os .Exit (1 )
194192 }
195193
196194 log .Printf ("HostFile management: %s" , msg )
218216 rawConfig , err := configGetter .GetClientConfig (cfgFilePath )
219217 if err != nil {
220218 log .Fatalf ("Error in get rawConfig: %s\n " , err .Error ())
221- os .Exit (1 )
222219 }
223220
224221 // labels selector to filter services
303300 restClient , err := configGetter .GetRESTClient ()
304301 if err != nil {
305302 log .Fatalf ("Error creating k8s RestClient: %s\n " , err .Error ())
306- os .Exit (1 )
307303 }
308304
309305 for ii , namespace := range namespaces {
You can’t perform that action at this time.
0 commit comments