Commit a846957a authored by Brian Downs's avatar Brian Downs

update func sig

parent 9882eb08
...@@ -53,7 +53,7 @@ func run(app *cli.Context, cfg *cmds.Server) error { ...@@ -53,7 +53,7 @@ func run(app *cli.Context, cfg *cmds.Server) error {
ctx := signals.SetupSignalHandler(context.Background()) ctx := signals.SetupSignalHandler(context.Background())
initialized, err := etcd.NewETCD().IsInitialized(ctx, &serverConfig.ControlConfig) initialized, err := etcd.NewETCD("").IsInitialized(ctx, &serverConfig.ControlConfig)
if err != nil { if err != nil {
return err return err
} }
......
...@@ -6,5 +6,5 @@ import ( ...@@ -6,5 +6,5 @@ import (
) )
func init() { func init() {
managed.RegisterDriver(etcd.NewETCD()) managed.RegisterDriver(etcd.NewETCD(""))
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment