Fix dns.resolver import for mdns

We are currently failing with module 'dns' has no
attribute 'resolver'.

Closes-Bug: #2006537
Change-Id: I31a1b1892a7112018b1261f956f51ed4eaa7cfb9
This commit is contained in:
Erik Olof Gunnar Andersson 2023-02-07 19:20:31 -08:00
parent 0e58c3d757
commit 5cd63481c6
1 changed files with 3 additions and 1 deletions

View File

@ -13,13 +13,15 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations # License for the specific language governing permissions and limitations
# under the License. # under the License.
import dns
import dns.flags import dns.flags
import dns.message import dns.message
import dns.opcode import dns.opcode
import dns.rcode import dns.rcode
import dns.rdataclass import dns.rdataclass
import dns.rdatatype import dns.rdatatype
import dns.renderer
import dns.resolver
import dns.rrset
from oslo_config import cfg from oslo_config import cfg
from oslo_log import log as logging from oslo_log import log as logging