[lxc-devel] [lxd/master] lxd/api: Sort list of endpoints

stgraber on Github lxc-bot at linuxcontainers.org
Wed Aug 15 22:06:09 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/20180815/950afd81/attachment.bin>
-------------- next part --------------
From d0f921b6896776c1e2522a94e0c44aa0f3fb2d44 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Wed, 15 Aug 2018 18:01:46 -0400
Subject: [PATCH] lxd/api: Sort list of endpoints
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/api_1.0.go | 54 +++++++++++++++++++++++++-------------------------
 1 file changed, 27 insertions(+), 27 deletions(-)

diff --git a/lxd/api_1.0.go b/lxd/api_1.0.go
index 2c5a94a310..c3a250d8c5 100644
--- a/lxd/api_1.0.go
+++ b/lxd/api_1.0.go
@@ -29,53 +29,53 @@ var api10Cmd = Command{
 }
 
 var api10 = []Command{
-	containersCmd,
+	aliasCmd,
+	aliasesCmd,
+	api10Cmd,
+	certificateFingerprintCmd,
+	certificatesCmd,
+	clusterCmd,
+	clusterNodeCmd,
+	clusterNodesCmd,
+	containerBackupCmd,
+	containerBackupExportCmd,
+	containerBackupsCmd,
 	containerCmd,
 	containerConsoleCmd,
-	containerStateCmd,
+	containerExecCmd,
 	containerFileCmd,
-	containerLogsCmd,
 	containerLogCmd,
-	containerSnapshotsCmd,
-	containerSnapshotCmd,
-	containerExecCmd,
+	containerLogsCmd,
 	containerMetadataCmd,
 	containerMetadataTemplatesCmd,
-	containerBackupsCmd,
-	containerBackupCmd,
-	containerBackupExportCmd,
-	aliasCmd,
-	aliasesCmd,
+	containersCmd,
+	containerSnapshotCmd,
+	containerSnapshotsCmd,
+	containerStateCmd,
 	eventsCmd,
 	imageCmd,
-	imagesCmd,
 	imageExportCmd,
-	imageSecretCmd,
 	imageRefreshCmd,
-	operationsCmd,
-	operationCmd,
-	operationWait,
-	operationWebsocket,
-	networksCmd,
+	imagesCmd,
+	imageSecretCmd,
 	networkCmd,
 	networkLeasesCmd,
+	networksCmd,
 	networkStateCmd,
-	api10Cmd,
-	certificatesCmd,
-	certificateFingerprintCmd,
-	profilesCmd,
+	operationCmd,
+	operationsCmd,
+	operationWait,
+	operationWebsocket,
 	profileCmd,
+	profilesCmd,
+	serverResourceCmd,
 	serverResourceCmd,
-	storagePoolsCmd,
 	storagePoolCmd,
 	storagePoolResourcesCmd,
+	storagePoolsCmd,
 	storagePoolVolumesCmd,
 	storagePoolVolumesTypeCmd,
 	storagePoolVolumeTypeCmd,
-	serverResourceCmd,
-	clusterCmd,
-	clusterNodesCmd,
-	clusterNodeCmd,
 }
 
 func api10Get(d *Daemon, r *http.Request) Response {


More information about the lxc-devel mailing list