]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Add delete client bconsole command
authorEric Bollengier <eric@baculasystems.com>
Fri, 11 Aug 2017 14:46:19 +0000 (16:46 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 14 Jul 2018 10:57:41 +0000 (12:57 +0200)
bacula/src/dird/ua_cmds.c

index b9fd55c51d0f2349e52a52aa2159fe37d48ab4a1..ba1055a8bc92a9ce0f561ed5e7f7d280ee02a4a8 100644 (file)
@@ -1541,6 +1541,7 @@ static int delete_cmd(UAContext *ua, const char *cmd)
       NT_("pool"),
       NT_("jobid"),
       NT_("snapshot"),
+      NT_("client"),
       NULL};
 
    /* Deleting large jobs can take time! */
@@ -1698,6 +1699,7 @@ static int delete_volume(UAContext *ua)
 
 /*
  * Delete a pool record from the database -- dangerous
+ * TODO: Check if the resource is still defined?
  */
 static int delete_pool(UAContext *ua)
 {