[virt-tools-list] [PATCH virt-viewer] Don't print warning for missing comment in config file
Christophe Fergeau
cfergeau at redhat.com
Fri Sep 5 16:44:09 UTC 2014
ACK.
Christophe
On Fri, Sep 05, 2014 at 11:19:11AM -0500, Jonathon Jongsma wrote:
> Change g_warning to g_debug as suggested by Marc-Andre
> ---
>
> Pushed as trivial
>
>
> src/virt-viewer-app.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/virt-viewer-app.c b/src/virt-viewer-app.c
> index b60ce2d..80ccc3b 100644
> --- a/src/virt-viewer-app.c
> +++ b/src/virt-viewer-app.c
> @@ -263,7 +263,7 @@ virt_viewer_app_save_config(VirtViewerApp *self)
> // with the vm name so user can make sense of it later.
> gchar *comment = g_key_file_get_comment(priv->config, priv->uuid, NULL, &error);
> if (error) {
> - g_warning("Unable to get comment from key file: %s", error->message);
> + g_debug("Unable to get comment from key file: %s", error->message);
> g_clear_error(&error);
> } else {
> if (!comment || *comment == '\0')
> --
> 1.9.3
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20140905/f8228000/attachment.sig>
More information about the virt-tools-list
mailing list