The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/3908

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
The files under shared/api should be named after their API paths with
the one difference that when a collection, the singular should be used.

/1.0/storage-pools => storage_pool.go
/1.0/storage-pools/POOL/volumes => storage_pool_volume.go

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 65cb526627897a5bd0e9338eaee21d917d27e250 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Fri, 6 Oct 2017 11:07:53 -0400
Subject: [PATCH] shared/api: Consistent file names
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

The files under shared/api should be named after their API paths with
the one difference that when a collection, the singular should be used.

/1.0/storage-pools => storage_pool.go
/1.0/storage-pools/POOL/volumes => storage_pool_volume.go

Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
---
 shared/api/{storage_pools.go => storage_pool.go}          | 0
 shared/api/{storage_volumes.go => storage_pool_volume.go} | 0
 2 files changed, 0 insertions(+), 0 deletions(-)
 rename shared/api/{storage_pools.go => storage_pool.go} (100%)
 rename shared/api/{storage_volumes.go => storage_pool_volume.go} (100%)

diff --git a/shared/api/storage_pools.go b/shared/api/storage_pool.go
similarity index 100%
rename from shared/api/storage_pools.go
rename to shared/api/storage_pool.go
diff --git a/shared/api/storage_volumes.go b/shared/api/storage_pool_volume.go
similarity index 100%
rename from shared/api/storage_volumes.go
rename to shared/api/storage_pool_volume.go
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to