Skip to content

Commit

Permalink
Revert CSI patch
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuildthecloud committed Sep 1, 2019
1 parent 6d24760 commit 209acb5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/cli/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import (
"github.com/urfave/cli"
"k8s.io/apimachinery/pkg/util/net"
"k8s.io/kubernetes/pkg/master"
"k8s.io/kubernetes/pkg/volume/csi"

_ "github.com/go-sql-driver/mysql" // ensure we have mysql
_ "github.com/lib/pq" // ensure we have postgres
Expand Down Expand Up @@ -55,9 +54,6 @@ func run(app *cli.Context, cfg *cmds.Server) error {
}
}

// If running agent in server, set this so that CSI initializes properly
csi.WaitForValidHostName = !cfg.DisableAgent

serverConfig := server.Config{}
serverConfig.ControlConfig.ClusterSecret = cfg.ClusterSecret
serverConfig.ControlConfig.DataDir = cfg.DataDir
Expand Down

0 comments on commit 209acb5

Please sign in to comment.