Skip to content

Commit

Permalink
update code
Browse files Browse the repository at this point in the history
Signed-off-by: ziyeqf <[email protected]>
  • Loading branch information
ziyeqf committed Aug 14, 2023
1 parent 7d90678 commit e186fa9
Show file tree
Hide file tree
Showing 9 changed files with 237 additions and 307 deletions.
9 changes: 6 additions & 3 deletions internal/services/recoveryservices/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,8 +146,11 @@ func NewClient(o *common.ClientOptions) (*Client, error) {
}
o.Configure(replicationMigrationItemsClient.Client, o.Authorizers.ResourceManager)

replicationProtectableItemsCLient := replicationprotectableitems.NewReplicationProtectableItemsClientWithBaseURI(o.ResourceManagerEndpoint)
o.ConfigureClient(&replicationProtectableItemsCLient.Client, o.ResourceManagerAuthorizer)
replicationProtectableItemsCLient, err := replicationprotectableitems.NewReplicationProtectableItemsClientWithBaseURI(o.Environment.ResourceManager)
if err != nil {
return nil, fmt.Errorf("building replicationProtectableItems client: %+v", err)
}
o.Configure(replicationProtectableItemsCLient.Client, o.Authorizers.ResourceManager)

replicationRecoveryPlanClient, err := replicationrecoveryplans.NewReplicationRecoveryPlansClientWithBaseURI(o.Environment.ResourceManager)
if err != nil {
Expand Down Expand Up @@ -182,7 +185,7 @@ func NewClient(o *common.ClientOptions) (*Client, error) {
VaultCertificatesClient: &vaultCertificatesClient,
VaultsSettingsClient: vaultSettingsClient,
StorageConfigsClient: &storageConfigsClient,
ReplicationProtectableItemsClient: &replicationProtectableItemsCLient,
ReplicationProtectableItemsClient: replicationProtectableItemsCLient,
ReplicationProtectedItemsClient: replicationMigrationItemsClient,
ReplicationRecoveryPlansClient: replicationRecoveryPlanClient,
ReplicationNetworksClient: replicationNetworksClient,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e186fa9

Please sign in to comment.