mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
feat(secrets): implement SecretStore interface and StaticStore/LocalStore for credential management
This commit is contained in:
parent
76b9d35ec7
commit
1f2e72dab6
13 changed files with 525 additions and 29 deletions
|
|
@ -203,7 +203,7 @@ func rawConnect(address string, protocol string, timeoutSeconds int, keepOpenOnl
|
|||
)
|
||||
|
||||
// try to conntect to host (expects host in format [10.0.0.0]:443)
|
||||
target := fmt.Sprintf("%s:%s", uri.Hostname(), uri.Port())
|
||||
target := net.JoinHostPort(uri.Hostname(), uri.Port())
|
||||
conn, err := net.DialTimeout(protocol, target, timeoutDuration)
|
||||
if err != nil {
|
||||
asset.State = false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue