Skip to content

Commit

Permalink
test get_share_service_client
Browse files Browse the repository at this point in the history
  • Loading branch information
LiliDeng committed May 24, 2024
1 parent e38d861 commit 7cf3f71
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions lisa/sut_orchestrator/azure/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -252,17 +252,17 @@ class AzureImageSchema(schema.ImageSchema):
)
),
)
hyperv_generation: Optional[
Union[search_space.SetSpace[int], int]
] = field( # type:ignore
default_factory=partial(
search_space.SetSpace,
is_allow_set=True,
items=[1, 2],
),
metadata=field_metadata(
decoder=partial(search_space.decode_set_space_by_type, base_type=int)
),
hyperv_generation: Optional[Union[search_space.SetSpace[int], int]] = (
field( # type:ignore
default_factory=partial(
search_space.SetSpace,
is_allow_set=True,
items=[1, 2],
),
metadata=field_metadata(
decoder=partial(search_space.decode_set_space_by_type, base_type=int)
),
)
)
network_data_path: Optional[
Union[search_space.SetSpace[schema.NetworkDataPath], schema.NetworkDataPath]
Expand Down Expand Up @@ -1926,7 +1926,7 @@ def get_share_service_client(
)
share_service_client = ShareServiceClient(
f"https://{account_name}.file.{cloud.suffixes.storage_endpoint}",
shared_key_credential,
credential,
)
return share_service_client

Expand Down

0 comments on commit 7cf3f71

Please sign in to comment.