Skip to content

Commit bda91e6

Browse files
committed
Use fleetlock Client instead of EtcdLockClient
1 parent 6a284e2 commit bda91e6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

locksmithctl/locksmithctl.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ import (
2828
"text/tabwriter"
2929
"time"
3030

31-
"github.com/flatcar-linux/locksmith/lock"
3231
"github.com/flatcar-linux/locksmith/version"
32+
"github.com/flatcar-linux/fleetlock/pkg/client"
3333

3434
"go.etcd.io/etcd/client"
3535
)
@@ -181,7 +181,7 @@ func main() {
181181

182182
// getLockClient returns an initialized EtcdLockClient, using an etcd
183183
// client configured from the global etcd flags
184-
func getClient() (*lock.EtcdLockClient, error) {
184+
func getClient() (*client.Client, error) {
185185
// copy of github.com/coreos/etcd/client.DefaultTransport so that
186186
// TLSClientConfig can be overridden.
187187
transport := &http.Transport{

0 commit comments

Comments
 (0)