Ubuntu Pastebin

Paste from dimitern at Mon, 22 Aug 2016 09:07:21 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
diff --git a/tools/lxdclient/client.go b/tools/lxdclient/client.go
index 6e3dec4..cd6a529 100644
--- a/tools/lxdclient/client.go
+++ b/tools/lxdclient/client.go
@@ -242,9 +242,11 @@ func newRawClient(remote Remote) (*lxd.Client, error) {
 			return nil, errors.Trace(err)
 		}
 
-		if !isSupportedLxdVersion(status.Environment.ServerVersion) {
-			return nil, errors.Errorf("lxd version %s, juju needs at least 2.0.0", status.Environment.ServerVersion)
-		}
+		_ = status
+		//logger.Infof("status: %#v", status)
+		//if !isSupportedLxdVersion(status.Environment.ServerVersion) {
+		//	return nil, errors.Errorf("lxd version %s, juju needs at least 2.0.0", status.Environment.ServerVersion)
+		//}
 	}
 
 	return client, nil
Download as text