9dc4ddf ipaclient.plugins.dns: Cast DNS name to unicode

1 file Authored by Aleksei Slaikovskii 2 years ago , Committed by tdudlak 2 years ago ,
    ipaclient.plugins.dns: Cast DNS name to unicode
    
    cmd.api.Command.dnsrecord_split_parts expects name to be unicode
    string and instead gets ascii. It leads to an error:
    ipa: ERROR: invalid 'name': must be Unicode text
    
    This commit's change is casting name's type to unicode so
    'ipa dnsrecord-mod' will not fail with error above.
    
    https://pagure.io/freeipa/issue/7185
    
    Reviewed-By: Tibor Dudlak <tdudlak@redhat.com>
    Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
    
        
file modified
+1 -1