• J
    secret: Create a 'base64File' in virSecretObj · 0250f34a
    John Ferlan 提交于
    This patch removes need for secretBase64Path and secretComputePath. Similar
    to the configFile, create an entry for base64File, which will be generated
    as the driver->configDir, the UUID value, plus the ".base" suffix. Rather
    than generating on the fly, store this in the virSecretObj.
    
    The buildup of the pathname done in loadSecrets where the failure to build
    is ignored which is no different than the failure to generate the name
    in secretLoadValue which would have been ignored in the failure path
    after secretLoad.
    
    This also removes the need for secretComputPath and secretBase64Path.
    Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
    0250f34a
secret_driver.c 28.0 KB