[PATCH] Fix indentation in iscsi storage backend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
Pushed as trivial.

 src/storage/storage_backend_iscsi.c | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/storage/storage_backend_iscsi.c b/src/storage/storage_backend_iscsi.c
index 7e7ffad..fde2b4b 100644
--- a/src/storage/storage_backend_iscsi.c
+++ b/src/storage/storage_backend_iscsi.c
@@ -244,8 +244,8 @@ virStorageBackendISCSICheckPool(virConnectPtr conn ATTRIBUTE_UNUSED,
     *isActive = false;
 
     if (pool->def->source.nhost != 1) {
-         virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
-                        _("Expected exactly 1 host for the storage pool"));
+        virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
+                       _("Expected exactly 1 host for the storage pool"));
         return -1;
     }
 
@@ -317,12 +317,12 @@ virStorageBackendISCSISetAuth(const char *portal,
                 virReportError(VIR_ERR_INTERNAL_ERROR,
                                _("could not get the value of the secret "
                                  "for username %s using uuid '%s'"),
-                                 chap.username, uuidStr);
+                               chap.username, uuidStr);
             } else {
                 virReportError(VIR_ERR_INTERNAL_ERROR,
                                _("could not get the value of the secret "
                                  "for username %s using usage value '%s'"),
-                                 chap.username, chap.secret.usage);
+                               chap.username, chap.secret.usage);
             }
             goto cleanup;
         }
@@ -371,8 +371,8 @@ virStorageBackendISCSIStartPool(virConnectPtr conn,
     int ret = -1;
 
     if (pool->def->source.nhost != 1) {
-         virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
-                        _("Expected exactly 1 host for the storage pool"));
+        virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
+                       _("Expected exactly 1 host for the storage pool"));
         return -1;
     }
 
@@ -435,7 +435,7 @@ virStorageBackendISCSIRefreshPool(virConnectPtr conn ATTRIBUTE_UNUSED,
 
     return 0;
 
- cleanup:
+cleanup:
     VIR_FREE(session);
     return -1;
 }
-- 
1.8.3.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]