File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -158,29 +158,6 @@ func run(ctx context.Context) error {
158158 grpc .WithKeepaliveParams (kacp ),
159159 )
160160
161- /* THIS CODE IS SAFE TO BE REMOVED */
162- for _ , system := range config .BackendConfig .FileSystemServers {
163- /* check if system is remote */
164- if system .Remote != nil {
165- address := fmt .Sprintf ("%s:%d" , system .Remote .Host , system .Remote .Port )
166- go func (addr string , errCh chan <- error ) {
167- _ , err := pool .GetConn (addr , errCh )
168- if err != nil {
169- zap .L ().Error ("Failed to get connect with a daemon" ,
170- zap .String ("Address" , addr ),
171- zap .Error (err ),
172- )
173- }
174-
175- /* now test for connections */
176- zap .L ().Info ("Connected to" ,
177- zap .String ("address" , addr ),
178- )
179-
180- }(address , errChLog )
181- }
182- }
183-
184161 /*
185162 initializing scheduler
186163 scheduler uses context to quit - part of waitgroup
You can’t perform that action at this time.
0 commit comments