Skip to content

Commit

Permalink
{serviceconnector-passwordless}: Fix argument missing (#8259)
Browse files Browse the repository at this point in the history
* Fix argument missing

* update azure-mgmt-servicelinker
  • Loading branch information
xfz11 authored Nov 12, 2024
1 parent f3e0083 commit 036eeb8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions src/serviceconnector-passwordless/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
Release History
===============
3.1.3
++++++
* Fix argument missing

3.1.2
++++++
* Update dependencies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
}


# pylint: disable=line-too-long, consider-using-f-string, too-many-statements
# pylint: disable=line-too-long, consider-using-f-string, too-many-statements, unused-argument
# For db(mysqlFlex/psql/psqlFlex/sql) linker with auth type=systemAssignedIdentity, enable Microsoft Entra auth and create db user on data plane
# For other linker, ignore the steps
def get_enable_mi_for_db_linker_func(yes=False, new=False):
def enable_mi_for_db_linker(cmd, source_id, target_id, auth_info, client_type, connection_name):
def enable_mi_for_db_linker(cmd, source_id, target_id, auth_info, client_type, connection_name, *args, **kwargs):
# return if connection is not for db mi
if auth_info['auth_type'] not in [AUTHTYPES[AUTH_TYPE.SystemIdentity],
AUTHTYPES[AUTH_TYPE.UserIdentity],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# --------------------------------------------------------------------------------------------


VERSION = '3.1.2'
VERSION = '3.1.3'
NAME = 'serviceconnector-passwordless'
4 changes: 2 additions & 2 deletions src/serviceconnector-passwordless/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
logger.warn("Wheel is not available, disabling bdist_wheel hook")


VERSION = '3.1.2'
VERSION = '3.1.3'
try:
from azext_serviceconnector_passwordless.config import VERSION
except ImportError:
Expand All @@ -40,7 +40,7 @@
'PyMySQL==1.1.1',
'pyodbc==5.1.0',
'psycopg2-binary==2.9.9',
'azure-mgmt-servicelinker==1.2.0b2'
'azure-mgmt-servicelinker==1.2.0b3'
]

with open('README.rst', 'r', encoding='utf-8') as f:
Expand Down

0 comments on commit 036eeb8

Please sign in to comment.