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

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) ===
Specify the database name in each debug statements.

Signed-off-by: Michael Jeanson <mjean...@efficios.com>
From 99f66d1db9b9c3b51170fe9a2d11bc3f7339eb30 Mon Sep 17 00:00:00 2001
From: Michael Jeanson <mjean...@efficios.com>
Date: Fri, 31 Jul 2020 11:29:40 -0400
Subject: [PATCH] lxd/main_activateifneeded: Clarify 'No DB' debug statements

Specify the database name in each debug statements.

Signed-off-by: Michael Jeanson <mjean...@efficios.com>
---
 lxd/main_activateifneeded.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lxd/main_activateifneeded.go b/lxd/main_activateifneeded.go
index 9197ff9b5c..43a7e8a9b0 100644
--- a/lxd/main_activateifneeded.go
+++ b/lxd/main_activateifneeded.go
@@ -60,7 +60,7 @@ func (c *cmdActivateifneeded) Run(cmd *cobra.Command, args 
[]string) error {
        if !shared.PathExists(d.os.LocalDatabasePath()) {
                path = d.os.LegacyLocalDatabasePath()
                if !shared.PathExists(path) {
-                       logger.Debugf("No DB, so no need to start the daemon 
now")
+                       logger.Debugf("No Local DB, so no need to start the 
daemon now")
                        return nil
                }
        }
@@ -97,7 +97,7 @@ func (c *cmdActivateifneeded) Run(cmd *cobra.Command, args 
[]string) error {
        if !shared.PathExists(path) {
                path = d.os.LegacyGlobalDatabasePath()
                if !shared.PathExists(path) {
-                       logger.Debugf("No DB, so no need to start the daemon 
now")
+                       logger.Debugf("No Global DB, so no need to start the 
daemon now")
                        return nil
                }
        }
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to