[lxc-devel] [lxd/master] Replace juju/idmclient with CanonicalLtd/candidclient

stgraber on Github lxc-bot at linuxcontainers.org
Fri Apr 6 15:34:06 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 354 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180406/ab61761b/attachment.bin>
-------------- next part --------------
From 172a6cc4f17a62a7e9f0809c798fcbda9af181c7 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Fri, 6 Apr 2018 11:32:35 -0400
Subject: [PATCH] Replace juju/idmclient with CanonicalLtd/candidclient
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 lxd/daemon.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lxd/daemon.go b/lxd/daemon.go
index 0d21455e7a..4328953dc8 100644
--- a/lxd/daemon.go
+++ b/lxd/daemon.go
@@ -17,8 +17,8 @@ import (
 	"syscall"
 	"time"
 
+	"github.com/CanonicalLtd/candidclient"
 	"github.com/gorilla/mux"
-	"github.com/juju/idmclient"
 	"github.com/pkg/errors"
 	"golang.org/x/net/context"
 	"gopkg.in/macaroon-bakery.v2/bakery"
@@ -784,7 +784,7 @@ func (d *Daemon) setupExternalAuthentication(authEndpoint string) error {
 		return nil
 	}
 
-	idmClient, err := idmclient.New(idmclient.NewParams{
+	idmClient, err := candidclient.New(candidclient.NewParams{
 		BaseURL: authEndpoint,
 	})
 	if err != nil {


More information about the lxc-devel mailing list