move legacy insecure options out of the main flow

This commit is contained in:
deads2k
2017-03-09 14:39:56 -05:00
parent c2f8ef1b1a
commit cd29754680
19 changed files with 253 additions and 151 deletions

View File

@@ -41,7 +41,7 @@ func getRunOptions() *options.ServerRunOptions {
// Use a unique prefix to ensure isolation from other tests using the same etcd instance
r.Etcd.StorageConfig.Prefix = uuid.New()
// Disable secure serving
r.SecureServing.ServingOptions.BindPort = 0
r.SecureServing.BindPort = 0
return r
}