]> xenbits.xensource.com Git - libvirt.git/commit
secret: util: Refactor virSecretGetSecretString
authorPeter Krempa <pkrempa@redhat.com>
Fri, 13 May 2016 11:32:48 +0000 (13:32 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 16 May 2016 10:58:48 +0000 (12:58 +0200)
commit1d632c392410d2be0c50b3a723f89884776b660b
treefda0c3d25bd9441f53235bedc56cd4a7f8ac75f8
parenteb2116fd9ad6ffb7b7727da0d3ee4cabe0c0a0cf
secret: util: Refactor virSecretGetSecretString

Call the internal driver callbacks rather than the public APIs to avoid
calling unnecessarily the error dispatching code and don't overwrite
the error messages provided by the APIs. They are good enough to
describe which secret is missing either by UUID or the usage (basically
name).
po/POTFILES.in
src/libxl/libxl_conf.c
src/qemu/qemu_domain.c
src/secret/secret_util.c
src/secret/secret_util.h