updateRemote takes a signing profile and initializes the remote server object to the hostname:port combination sent by remote.
(remote string)
| 371 | // updateRemote takes a signing profile and initializes the remote server object |
| 372 | // to the hostname:port combination sent by remote. |
| 373 | func (p *SigningProfile) updateRemote(remote string) error { |
| 374 | if remote != "" { |
| 375 | p.RemoteServer = remote |
| 376 | } |
| 377 | return nil |
| 378 | } |
| 379 | |
| 380 | // OverrideRemotes takes a signing configuration and updates the remote server object |
| 381 | // to the hostname:port combination sent by remote |
no outgoing calls
no test coverage detected