Rename deprecated 'warn' to 'warning' in logging
Change-Id: I5b21817362ef4f71d70e8d446b878372f7941bd2
This commit is contained in:
parent
36f0e7318d
commit
27d3dab1c6
@ -45,7 +45,7 @@ def print_artifact(client, data, type_name):
|
||||
def get_artifact_id(client, parsed_args):
|
||||
if parsed_args.id:
|
||||
if parsed_args.artifact_version != 'latest':
|
||||
LOG.warn('Specified version is not considered when '
|
||||
LOG.warning('Specified version is not considered when '
|
||||
'receiving of the artifact by ID.')
|
||||
return parsed_args.name
|
||||
|
||||
|
@ -40,7 +40,7 @@ def _default_blob_property(type_name):
|
||||
def get_artifact_id(client, parsed_args):
|
||||
if parsed_args.id:
|
||||
if parsed_args.artifact_version != 'latest':
|
||||
LOG.warn('Specified version is not considered when '
|
||||
LOG.warning('Specified version is not considered when '
|
||||
'receiving of the artifact by ID.')
|
||||
return parsed_args.name
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user