Mariano Cano 1 год назад
Родитель
Сommit
b690e1214d
1 измененных файлов с 0 добавлено и 10 удалено
  1. 0 10
      authority/provisioner/provisioner.go

+ 0 - 10
authority/provisioner/provisioner.go

@@ -258,16 +258,6 @@ type Config struct {
 	// GetIdentityFunc is a function that returns an identity that will be
 	// used by the provisioner to populate certificate attributes.
 	GetIdentityFunc GetIdentityFunc
-	/*
-		// GetHttpClientFunc is a function that returns an HTTP client that trusts
-		// the system cert pool and the CA roots.
-		GetHttpClientFunc func() *http.Client
-		// GetWebhookClientFunc ris a function that returns the HTTP client used
-		// when performing webhook requests, this is an HTTP client that trusts the
-		// system cert pool, the CA roots and uses the CA certificate as a client
-		// certificate.
-		GetWebhookClientFunc func() *http.Client
-	*/
 	// AuthorizeRenewFunc is a function that returns nil if a given X.509
 	// certificate can be renewed.
 	AuthorizeRenewFunc AuthorizeRenewFunc