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

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) ===
Signed-off-by: Jason Travis <jasontra...@nau.edu>
From dd82fcb50dbec101a9816de08e42a23696cf5a0b Mon Sep 17 00:00:00 2001
From: Jason Travis <jtra...@tgen.org>
Date: Wed, 3 Aug 2016 07:47:58 -0700
Subject: [PATCH] Fix flag name in init error message

Signed-off-by: Jason Travis <jasontra...@nau.edu>
---
 lxd/main.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lxd/main.go b/lxd/main.go
index 4eb4372..5749177 100644
--- a/lxd/main.go
+++ b/lxd/main.go
@@ -736,13 +736,13 @@ func cmdInit() error {
 
                if *argStorageBackend == "dir" {
                        if *argStorageCreateLoop != -1 || 
*argStorageCreateDevice != "" || *argStoragePool != "" {
-                               return fmt.Errorf("None of --storage-pool, 
--storage-create-device or --storage-create-pool may be used with the 'dir' 
backend.")
+                               return fmt.Errorf("None of --storage-pool, 
--storage-create-device or --storage-create-loop may be used with the 'dir' 
backend.")
                        }
                }
 
                if *argStorageBackend == "zfs" {
                        if *argStorageCreateLoop != -1 && 
*argStorageCreateDevice != "" {
-                               return fmt.Errorf("Only one of 
--storage-create-device or --storage-create-pool can be specified with the 
'zfs' backend.")
+                               return fmt.Errorf("Only one of 
--storage-create-device or --storage-create-loop can be specified with the 
'zfs' backend.")
                        }
 
                        if *argStoragePool == "" {
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to