()
| 245 | } |
| 246 | |
| 247 | func (s *session) retryWithCredentials() error { |
| 248 | if s.fellBack { |
| 249 | return nil |
| 250 | } |
| 251 | puller, err := remote.NewPuller(s.remoteOptions(nil)...) |
| 252 | if err != nil { |
| 253 | return err |
| 254 | } |
| 255 | s.puller = puller |
| 256 | s.fellBack = true |
| 257 | return nil |
| 258 | } |
| 259 | |
| 260 | // remoteOptions builds the options for a puller, reusing the exact remote.Option |
| 261 | // slice crane assembled (transport, context, platform, user-agent, jobs, ...). |
no test coverage detected