Browse Source

Merge pull request #10654 from CydeWeys/patch-1

embed: Fix HTTPs -> HTTPS in error message
Sahdev Zala 6 years ago
parent
commit
cd7ffbe227
1 changed files with 1 additions and 1 deletions
  1. 1 1
      embed/etcd.go

+ 1 - 1
embed/etcd.go

@@ -623,7 +623,7 @@ func configureClientListeners(cfg *Config) (sctxs map[string]*serveCtx, err erro
 			}
 			}
 		}
 		}
 		if (u.Scheme == "https" || u.Scheme == "unixs") && cfg.ClientTLSInfo.Empty() {
 		if (u.Scheme == "https" || u.Scheme == "unixs") && cfg.ClientTLSInfo.Empty() {
-			return nil, fmt.Errorf("TLS key/cert (--cert-file, --key-file) must be provided for client url %s with HTTPs scheme", u.String())
+			return nil, fmt.Errorf("TLS key/cert (--cert-file, --key-file) must be provided for client url %s with HTTPS scheme", u.String())
 		}
 		}
 
 
 		network := "tcp"
 		network := "tcp"