aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryn M. Reeves <bmr@redhat.com>2015-02-11 20:35:41 +0000
committerBryn M. Reeves <bmr@redhat.com>2015-02-11 20:35:41 +0000
commitdace7ab27b51fe67ed98b0328c80c8eea9da3a87 (patch)
tree00e32574607d7b234a7c6170a10ecb6a7be427b6
parent7f377816feb4111fd2b80b3b0c0c90aacece1882 (diff)
downloadsos-dace7ab27b51fe67ed98b0328c80c8eea9da3a87.tar.gz
[postgresql] don't warn if dbname is not set
Fixes #478. Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/postgresql.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/sos/plugins/postgresql.py b/sos/plugins/postgresql.py
index 0a51074a..07187397 100644
--- a/sos/plugins/postgresql.py
+++ b/sos/plugins/postgresql.py
@@ -92,13 +92,6 @@ class PostgreSQL(Plugin):
self.add_alert(
"WARN: password must be supplied to dump a database."
)
- else:
- self.soslog.warning(
- "dbname must be supplied to dump a database."
- )
- self.add_alert(
- "WARN: dbname must be supplied to dump a database."
- )
def postproc(self):
import shutil