Browse Source

embed: Fix HTTPs -> HTTPS in error message

Ben McIlwain 6 years ago
parent
commit
b3dd3d3856
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() {
-			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"