From 1ab32ac5eae71aec0bf8349ea9cda4b8caa63054 Mon Sep 17 00:00:00 2001 From: Aniruddha Basak Date: Tue, 26 Oct 2021 20:50:06 +0530 Subject: [PATCH] Remove client.NewKeysAPI call --- locksmithctl/locksmithctl.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/locksmithctl/locksmithctl.go b/locksmithctl/locksmithctl.go index 5ac1184..e4e5aca 100644 --- a/locksmithctl/locksmithctl.go +++ b/locksmithctl/locksmithctl.go @@ -226,8 +226,6 @@ func getClient() (*client.Client, error) { return nil, err } - kapi := client.NewKeysAPI(ec) - lc, err := lock.NewEtcdLockClient(kapi, globalFlags.Group) if err != nil { return nil, err