summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-12-08 10:32:46 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2015-12-08 10:32:46 +0100
commit4e2b071c2568328f760b76cf52a3c614158a3c37 (patch)
tree298a0ab63f336f41a0a45d3ff9917158f57cbdad
parentd916c4d7f463f4524ca4d31d8a66c07f28fec49e (diff)
vm: Don't print ticket value to stdout
When G_MESSAGES_DEBUG=libgovirt is set, the ticket value would be printed to stdout. Since it's a short-lived password used to access the VM display, it's better not to print it. https://bugzilla.redhat.com/show_bug.cgi?id=1216118
-rw-r--r--govirt/ovirt-vm.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/govirt/ovirt-vm.c b/govirt/ovirt-vm.c
index 04b8089..9a07c2f 100644
--- a/govirt/ovirt-vm.c
+++ b/govirt/ovirt-vm.c
@@ -276,8 +276,6 @@ static gboolean parse_ticket_status(RestXmlNode *root, OvirtResource *resource,
g_return_val_if_fail(display != NULL, FALSE);
g_object_set(G_OBJECT(display), "ticket", node->content, NULL);
- g_debug("Ticket: %s\n", node->content);
-
node = g_hash_table_lookup(root->children, expiry_key);
if (node == NULL) {
g_set_error(error, OVIRT_ERROR, OVIRT_ERROR_PARSING_FAILED,