Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
home:dirkmueller:acdc:as_python3_module
azure-cli-core.18655
acc_disable-update-check.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File acc_disable-update-check.patch of Package azure-cli-core.18655
diff -Nru azure-cli-core-2.14.2.orig/azure/cli/core/util.py azure-cli-core-2.14.2/azure/cli/core/util.py --- azure-cli-core-2.14.2.orig/azure/cli/core/util.py 2020-11-09 06:56:54.000000000 +0100 +++ azure-cli-core-2.14.2/azure/cli/core/util.py 2021-01-25 11:00:26.748746718 +0100 @@ -432,18 +432,7 @@ def show_updates(updates_available_components): - if updates_available_components is None: - logger.warning('Unable to check if your CLI is up-to-date. Check your internet connection.') - elif updates_available_components: # pylint: disable=too-many-nested-blocks - if in_cloud_console(): - warning_msg = 'You have %i updates available. They will be updated with the next build of Cloud Shell.' - else: - warning_msg = "You have %i updates available." - if CLI_PACKAGE_NAME in updates_available_components: - warning_msg = "{} Consider updating your CLI installation with 'az upgrade'".format(warning_msg) - logger.warning(warning_msg, len(updates_available_components)) - else: - print('Your CLI is up-to-date.') + return def get_json_object(json_string):
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor