summaryrefslogtreecommitdiff
path: root/nova/network/neutron.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/network/neutron.py')
-rw-r--r--nova/network/neutron.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/network/neutron.py b/nova/network/neutron.py
index 9c3186b525..7db03a41ee 100644
--- a/nova/network/neutron.py
+++ b/nova/network/neutron.py
@@ -20,6 +20,7 @@ API and utilities for nova-network interactions.
import copy
import functools
+import inspect
import time
import typing as ty
@@ -133,7 +134,7 @@ def refresh_cache(f):
Requires context and instance as function args
"""
- argspec = utils.getargspec(f)
+ argspec = inspect.getfullargspec(f)
@functools.wraps(f)
def wrapper(self, context, *args, **kwargs):