Skip to content

Commit

Permalink
More container.go cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljurek committed Feb 15, 2024
1 parent 8a58a1c commit 7265227
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cli/azd/cmd/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,6 @@ func registerCommonDependencies(container *ioc.NestedContainer) {
},
)

// Clients

// Default client options
container.MustRegisterSingleton(func(
clientOptionsBuilderFactory azsdk.ClientOptionsBuilderFactory,
Expand Down Expand Up @@ -466,7 +464,7 @@ func registerCommonDependencies(container *ioc.NestedContainer) {
container.MustRegisterSingleton(account.NewSubscriptionsService)
container.MustRegisterSingleton(account.NewManager)
container.MustRegisterSingleton(account.NewSubscriptionsManager)
container.MustRegisterScoped(account.NewSubscriptionCredentialProvider)
container.MustRegisterSingleton(account.NewSubscriptionCredentialProvider)
container.MustRegisterSingleton(azcli.NewManagedClustersService)
container.MustRegisterSingleton(azcli.NewAdService)
container.MustRegisterSingleton(azcli.NewContainerRegistryService)
Expand Down

0 comments on commit 7265227

Please sign in to comment.