Fix obsolete version of osc
This patch set adds a link to actual API version for OSC. Closes-Bug: #1807180 Change-Id: I622bfec99c2e6fd9f69293aaa04c3184215af0d3
This commit is contained in:
parent
c256ee2a21
commit
ffc50c5001
@ -17,11 +17,12 @@ from osc_lib import utils
|
|||||||
|
|
||||||
import watcherclient
|
import watcherclient
|
||||||
from watcherclient.common import api_versioning
|
from watcherclient.common import api_versioning
|
||||||
|
from watcherclient.common import httpclient
|
||||||
from watcherclient import exceptions
|
from watcherclient import exceptions
|
||||||
|
|
||||||
LOG = logging.getLogger(__name__)
|
LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
DEFAULT_API_VERSION = '1'
|
DEFAULT_API_VERSION = httpclient.LATEST_VERSION
|
||||||
API_VERSION_OPTION = 'os_infra_optim_api_version'
|
API_VERSION_OPTION = 'os_infra_optim_api_version'
|
||||||
API_NAME = 'infra-optim'
|
API_NAME = 'infra-optim'
|
||||||
API_VERSIONS = {
|
API_VERSIONS = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user