Revert "Backport bootstrap engine 1.21 (#4314)"

This reverts commits
c5a9154538
45c5d78cd7

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
This commit is contained in:
Brad Davidson
2021-10-27 13:08:17 -07:00
committed by Brad Davidson
parent c5a9154538
commit 7d0ecf3ab2
15 changed files with 100 additions and 724 deletions

View File

@@ -79,8 +79,7 @@ func (c *Cluster) initClusterAndHTTPS(ctx context.Context) error {
// Create a HTTP server with the registered request handlers, using logrus for logging
server := http.Server{
Handler: handler,
}
Handler: handler}
if logrus.IsLevelEnabled(logrus.DebugLevel) {
server.ErrorLog = log.New(logrus.StandardLogger().Writer(), "Cluster-Http-Server ", log.LstdFlags)