Skip to content

Commit 017cdbe

Browse files
committed
PR testing fixes
1 parent 9145a09 commit 017cdbe

File tree

3 files changed

+0
-23
lines changed

3 files changed

+0
-23
lines changed

src/azure-cli/azure/cli/command_modules/acr/_help.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1692,22 +1692,6 @@
16921692
text: >
16931693
az acr connected-registry permissions show -r mycloudregistry -n myconnectedregistry
16941694
"""
1695-
1696-
# To be deprecated
1697-
helps['acr connected-registry repo'] = """
1698-
type: command
1699-
short-summary: Update all the necessary connected registry sync scope maps repository permissions.
1700-
examples:
1701-
- name: Add permissions to synchronize images from 'repo1' and 'repo2' to the connected registry 'myconnectedregistry' and its ancestors.
1702-
text: >
1703-
az acr connected-registry repo -r mycloudregistry -n myconnectedregistry --add repo1 repo2
1704-
- name: Remove permissions to synchronize images from 'repo1' and 'repo2' to the connected registry 'myconnectedregistry' and its descendants.
1705-
text: >
1706-
az acr connected-registry repo -r mycloudregistry -n myconnectedregistry --remove repo1 repo2
1707-
- name: Remove permissions to synchronize 'repo1' images and adds permissions for 'repo2' images.
1708-
text: >
1709-
az acr connected-registry repo -r mycloudregistry -n myconnectedregistry --remove repo1 --add repo2
1710-
"""
17111695
# endregion
17121696

17131697
# region private-endpoint-connection

src/azure-cli/azure/cli/command_modules/acr/_params.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -569,12 +569,6 @@ def load_arguments(self, _): # pylint: disable=too-many-statements
569569
c.argument('remove_repos', options_list=['--remove'], nargs='*',
570570
help='repository permissions to be removed from the targeted connected registry and it\'s succesors sync scope maps. Use the format "--remove [REPO1 REPO2 ...]" per flag. ' + repo_valid_actions)
571571

572-
with self.argument_context('acr connected-registry repo') as c:
573-
c.argument('add_repos', options_list=['--add'], nargs='*',
574-
help='repository permissions to be added to the targeted connected registry and it\'s ancestors sync scope maps. Use the format "--add [REPO1 REPO2 ...]" per flag. ' + repo_valid_actions)
575-
c.argument('remove_repos', options_list=['--remove'], nargs='*',
576-
help='repository permissions to be removed from the targeted connected registry and it\'s succesors sync scope maps. Use the format "--remove [REPO1 REPO2 ...]" per flag. ' + repo_valid_actions)
577-
578572

579573
def _get_helm_default_install_location():
580574
exe_name = 'helm'

src/azure-cli/azure/cli/command_modules/acr/connected_registry.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
# --------------------------------------------------------------------------------------------
55

66
from enum import Enum
7-
import re
87
from msrest.exceptions import ValidationError
98
from knack.log import get_logger
109
from knack.util import CLIError

0 commit comments

Comments
 (0)