Skip to content

Commit

Permalink
fix adding args to enable_mi_for_db_linker
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryce Chen committed Nov 8, 2024
1 parent 75b87ec commit 1ca8b82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
# 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

0 comments on commit 1ca8b82

Please sign in to comment.