Skip to content
Snippets Groups Projects
Commit 7ea14df2 authored by Philippe Mathieu-Daudé's avatar Philippe Mathieu-Daudé Committed by Dr. David Alan Gilbert
Browse files

migration: Make save_snapshot() return bool, not 0/-1


Just for consistency, following the example documented since
commit e3fe3988 ("error: Document Error API usage rules"),
return a boolean value indicating an error is set or not.

Reviewed-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
Acked-by: default avatarPavel Dovgalyuk <pavel.dovgalyuk@ispras.ru>
Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210204124834.774401-3-berrange@redhat.com>
Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
parent e26f98e2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment