mirror of
https://github.com/openziti/ziti.git
synced 2026-10-14 16:19:57 +00:00
Merge pull request #932 from openziti/handle-alternative-server-certs-ziti-login
don't resolve ca cert path if empty string
This commit is contained in:
@@ -123,8 +123,10 @@ func (o *loginOptions) Run() error {
|
||||
return err
|
||||
}
|
||||
|
||||
if certAbs, err := filepath.Abs(o.CaCert); err == nil {
|
||||
o.CaCert = certAbs
|
||||
if o.CaCert != "" {
|
||||
if certAbs, err := filepath.Abs(o.CaCert); err == nil {
|
||||
o.CaCert = certAbs
|
||||
}
|
||||
}
|
||||
|
||||
if ctrlUrl.Path == "" {
|
||||
|
||||
Reference in New Issue
Block a user