From fdafbac1a4e0094dc7be3a05ec1bf57d75beb180 Mon Sep 17 00:00:00 2001 From: Marc Khouzam Date: Thu, 20 Nov 2025 15:11:57 -0500 Subject: [PATCH] Add 'make generate-fakes' and use it Signed-off-by: Marc Khouzam --- .github/CONTRIBUTING.md | 17 +- Makefile | 7 +- .../fake_cloud_controller_client.go | 8 - .../fake_networking_client.go | 6 - .../pluginactionfakes/fake_command_list.go | 4 - .../pluginactionfakes/fake_config.go | 18 -- .../pluginactionfakes/fake_plugin_client.go | 4 - .../pluginactionfakes/fake_plugin_metadata.go | 2 - .../fake_plugin_uninstaller.go | 2 - .../sharedactionfakes/fake_config.go | 18 -- .../fake_log_cache_client.go | 2 - .../fake_secure_shell_client.go | 10 - actor/v7action/v7actionfakes/fake_config.go | 42 ---- .../v7action/v7actionfakes/fake_downloader.go | 2 - .../fake_kubernetes_config_getter.go | 2 - .../v7actionfakes/fake_manifest_parser.go | 4 - .../v7actionfakes/fake_routing_client.go | 4 - .../v7actionfakes/fake_shared_actor.go | 8 - .../v7actionfakes/fake_simple_progress_bar.go | 4 - actor/v7action/v7actionfakes/fake_sshactor.go | 2 - .../v7action/v7actionfakes/fake_uaaclient.go | 22 -- .../v7action/v7actionfakes/fake_who_am_ier.go | 2 - .../v7pushactionfakes/fake_progress_bar.go | 2 - .../v7pushactionfakes/fake_read_closer.go | 4 - .../v7pushactionfakes/fake_shared_actor.go | 10 - .../v7pushactionfakes/fake_v7actor.go | 66 ------ .../cfnetv1fakes/fake_connection_wrapper.go | 4 - .../cfnetworkingfakes/fake_connection.go | 2 - .../cfnetworkingfakes/fake_read_seeker.go | 4 - .../fake_request_logger_output.go | 20 -- .../wrapper/wrapperfakes/fake_token_cache.go | 8 - .../wrapper/wrapperfakes/fake_uaaclient.go | 2 - .../ccv3/ccv3fakes/fake_clock.go | 2 - .../ccv3/ccv3fakes/fake_connection_wrapper.go | 4 - .../ccv3/ccv3fakes/fake_reader.go | 2 - .../ccv3/ccv3fakes/fake_requester.go | 18 -- .../cloudcontrollerfakes/fake_connection.go | 2 - .../fake_request_logger_output.go | 20 -- .../wrapper/wrapperfakes/fake_token_cache.go | 8 - .../wrapper/wrapperfakes/fake_uaaclient.go | 2 - api/plugin/pluginfakes/fake_connection.go | 2 - .../pluginfakes/fake_connection_wrapper.go | 4 - api/plugin/pluginfakes/fake_proxy_reader.go | 6 - .../fake_request_logger_output.go | 20 -- api/router/routerfakes/fake_connection.go | 2 - .../routerfakes/fake_connection_wrapper.go | 4 - .../fake_request_logger_output.go | 20 -- .../wrapper/wrapperfakes/fake_token_cache.go | 8 - .../wrapper/wrapperfakes/fake_uaaclient.go | 2 - api/shared/sharedfakes/fake_round_tripper.go | 2 - .../noaabridgefakes/fake_token_cache.go | 6 - .../noaabridgefakes/fake_uaaclient.go | 2 - api/uaa/uaafakes/fake_config.go | 18 -- api/uaa/uaafakes/fake_connection.go | 2 - api/uaa/uaafakes/fake_connection_wrapper.go | 4 - .../fake_request_logger_output.go | 20 -- .../wrapper/wrapperfakes/fake_token_cache.go | 8 - .../wrapper/wrapperfakes/fake_uaaclient.go | 2 - command/commandfakes/fake_config.go | 211 ------------------ command/commandfakes/fake_shared_actor.go | 12 - command/commandfakes/fake_ui.go | 74 ------ command/common/commonfakes/fake_help_actor.go | 4 - .../commonfakes/fake_install_plugin_actor.go | 20 -- .../pluginfakes/fake_add_plugin_repo_actor.go | 2 - .../plugin/pluginfakes/fake_plugins_actor.go | 2 - .../fake_uninstall_plugin_actor.go | 2 - .../fake_translatable_error.go | 4 - .../v7/shared/sharedfakes/fake_app_stager.go | 6 - command/v7/v7fakes/fake_actor_reloader.go | 2 - command/v7/v7fakes/fake_diff_displayer.go | 2 - command/v7/v7fakes/fake_label_setter.go | 2 - command/v7/v7fakes/fake_label_unsetter.go | 2 - command/v7/v7fakes/fake_manifest_locator.go | 2 - command/v7/v7fakes/fake_manifest_parser.go | 6 - .../v7/v7fakes/fake_network_policies_actor.go | 4 - command/v7/v7fakes/fake_networking_actor.go | 2 - command/v7/v7fakes/fake_progress_bar.go | 6 - command/v7/v7fakes/fake_push_actor.go | 8 - .../fake_remove_network_policy_actor.go | 2 - command/v7/v7fakes/fake_revisions_actor.go | 2 - command/v7/v7fakes/fake_set_label_actor.go | 44 +--- command/v7/v7fakes/fake_shared_sshactor.go | 2 - command/v7/v7fakes/fake_v7actor_for_push.go | 10 - plugin/pluginfakes/fake_cli_connection.go | 54 ----- plugin/rpc/rpcfakes/fake_command_runner.go | 2 - plugin/rpc/rpcfakes/fake_output_capture.go | 2 - .../rpcfakes/fake_terminal_output_switch.go | 2 - .../clisshfakes/fake_listener_factory.go | 2 - util/clissh/clisshfakes/fake_secure_client.go | 10 - util/clissh/clisshfakes/fake_secure_dialer.go | 2 - .../clissh/clisshfakes/fake_secure_session.go | 18 -- .../clisshfakes/fake_terminal_helper.go | 10 - .../configv3fakes/fake_user_config.go | 4 - .../download/downloadfakes/fake_httpclient.go | 2 - .../downloadfakes/fake_progress_bar.go | 8 - util/ui/uifakes/fake_config.go | 8 - util/ui/uifakes/fake_exiter.go | 2 - util/ui/uifakes/fake_interactor.go | 2 - util/ui/uifakes/fake_log_message.go | 10 - util/ui/uifakes/fake_resolver.go | 6 - util/utilfakes/fake_sha1checksum.go | 6 - 101 files changed, 32 insertions(+), 1053 deletions(-) diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index cd87b3fa8d1..ecd1576d3f6 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -136,7 +136,22 @@ below. The CLI uses [`counterfeiter`](https://github.com/maxbrunsfeld/counterfeiter) to generate fakes from interfaces for the unit tests. If any changes are made to an -interface, the fakes be should regenerated using counterfeiter: +interface, the fakes be should regenerated using counterfeiter. + +### Regenerating all non-legacy fakes + +To regenerate fakes for all non-legacy packages (recommended for most cases): + +```bash +make generate-fakes +``` + +This will safely regenerate fakes in the `util`, `plugin`, `command`, `api`, and +`actor` packages without touching the legacy `cf/` codebase. + +### Regenerating fakes for a specific package + +If you only need to regenerate fakes for a specific package: ```bash go generate .//... diff --git a/Makefile b/Makefile index a1683bda3f6..73837560c3b 100644 --- a/Makefile +++ b/Makefile @@ -69,6 +69,11 @@ fly-windows-units: format: ## Run go fmt go fmt ./... +generate-fakes: ## Regenerate counterfeiter fakes for non-legacy packages + @echo "Generating fakes for non-legacy packages..." + go generate ./util/... ./plugin/... ./command/... ./api/... ./actor/... + @echo "Fakes generated successfully!" + install-test-deps: ## Install "global" dependencies needed to run tests # Running `go install ` without a version specifier will use version specified in go.mod # See https://go.dev/ref/mod#go-install @@ -237,7 +242,7 @@ units-full: build units-plugin units-non-plugin version: ## Print the version number of what would be built @echo $(CF_BUILD_VERSION)+$(CF_BUILD_SHA).$(CF_BUILD_DATE) -.PHONY: all build clean format version lint +.PHONY: all build clean format generate-fakes version lint .PHONY: test units units-full install-test-deps integration integration-tests-full integration-cleanup integration-experimental integration-plugin integration-isolated integration-push .PHONY: check-target-env fly-windows-experimental fly-windows-isolated fly-windows-plugin fly-windows-push .PHONY: help diff --git a/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_cloud_controller_client.go b/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_cloud_controller_client.go index 74739119239..bafb8bf155c 100644 --- a/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_cloud_controller_client.go +++ b/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_cloud_controller_client.go @@ -352,14 +352,6 @@ func (fake *FakeCloudControllerClient) GetSpacesReturnsOnCall(i int, result1 []r func (fake *FakeCloudControllerClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getApplicationByNameAndSpaceMutex.RLock() - defer fake.getApplicationByNameAndSpaceMutex.RUnlock() - fake.getApplicationsMutex.RLock() - defer fake.getApplicationsMutex.RUnlock() - fake.getOrganizationsMutex.RLock() - defer fake.getOrganizationsMutex.RUnlock() - fake.getSpacesMutex.RLock() - defer fake.getSpacesMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_networking_client.go b/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_networking_client.go index 748af078b4e..276b75b85e4 100644 --- a/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_networking_client.go +++ b/actor/cfnetworkingaction/cfnetworkingactionfakes/fake_networking_client.go @@ -247,12 +247,6 @@ func (fake *FakeNetworkingClient) RemovePoliciesReturnsOnCall(i int, result1 err func (fake *FakeNetworkingClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.createPoliciesMutex.RLock() - defer fake.createPoliciesMutex.RUnlock() - fake.listPoliciesMutex.RLock() - defer fake.listPoliciesMutex.RUnlock() - fake.removePoliciesMutex.RLock() - defer fake.removePoliciesMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/pluginaction/pluginactionfakes/fake_command_list.go b/actor/pluginaction/pluginactionfakes/fake_command_list.go index 870ae30749b..4361d603871 100644 --- a/actor/pluginaction/pluginactionfakes/fake_command_list.go +++ b/actor/pluginaction/pluginactionfakes/fake_command_list.go @@ -159,10 +159,6 @@ func (fake *FakeCommandList) HasCommandReturnsOnCall(i int, result1 bool) { func (fake *FakeCommandList) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.hasAliasMutex.RLock() - defer fake.hasAliasMutex.RUnlock() - fake.hasCommandMutex.RLock() - defer fake.hasCommandMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/pluginaction/pluginactionfakes/fake_config.go b/actor/pluginaction/pluginactionfakes/fake_config.go index ac7722f837d..36981026cb2 100644 --- a/actor/pluginaction/pluginactionfakes/fake_config.go +++ b/actor/pluginaction/pluginactionfakes/fake_config.go @@ -521,24 +521,6 @@ func (fake *FakeConfig) WritePluginConfigReturnsOnCall(i int, result1 error) { func (fake *FakeConfig) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.addPluginMutex.RLock() - defer fake.addPluginMutex.RUnlock() - fake.addPluginRepositoryMutex.RLock() - defer fake.addPluginRepositoryMutex.RUnlock() - fake.binaryVersionMutex.RLock() - defer fake.binaryVersionMutex.RUnlock() - fake.getPluginMutex.RLock() - defer fake.getPluginMutex.RUnlock() - fake.pluginHomeMutex.RLock() - defer fake.pluginHomeMutex.RUnlock() - fake.pluginRepositoriesMutex.RLock() - defer fake.pluginRepositoriesMutex.RUnlock() - fake.pluginsMutex.RLock() - defer fake.pluginsMutex.RUnlock() - fake.removePluginMutex.RLock() - defer fake.removePluginMutex.RUnlock() - fake.writePluginConfigMutex.RLock() - defer fake.writePluginConfigMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/pluginaction/pluginactionfakes/fake_plugin_client.go b/actor/pluginaction/pluginactionfakes/fake_plugin_client.go index 222feee548a..1541f536f65 100644 --- a/actor/pluginaction/pluginactionfakes/fake_plugin_client.go +++ b/actor/pluginaction/pluginactionfakes/fake_plugin_client.go @@ -169,10 +169,6 @@ func (fake *FakePluginClient) GetPluginRepositoryReturnsOnCall(i int, result1 pl func (fake *FakePluginClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.downloadPluginMutex.RLock() - defer fake.downloadPluginMutex.RUnlock() - fake.getPluginRepositoryMutex.RLock() - defer fake.getPluginRepositoryMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/pluginaction/pluginactionfakes/fake_plugin_metadata.go b/actor/pluginaction/pluginactionfakes/fake_plugin_metadata.go index e68ab5676e3..5ae18612703 100644 --- a/actor/pluginaction/pluginactionfakes/fake_plugin_metadata.go +++ b/actor/pluginaction/pluginactionfakes/fake_plugin_metadata.go @@ -93,8 +93,6 @@ func (fake *FakePluginMetadata) GetMetadataReturnsOnCall(i int, result1 configv3 func (fake *FakePluginMetadata) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getMetadataMutex.RLock() - defer fake.getMetadataMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/pluginaction/pluginactionfakes/fake_plugin_uninstaller.go b/actor/pluginaction/pluginactionfakes/fake_plugin_uninstaller.go index a05f8a739b5..cf1c8564480 100644 --- a/actor/pluginaction/pluginactionfakes/fake_plugin_uninstaller.go +++ b/actor/pluginaction/pluginactionfakes/fake_plugin_uninstaller.go @@ -89,8 +89,6 @@ func (fake *FakePluginUninstaller) RunReturnsOnCall(i int, result1 error) { func (fake *FakePluginUninstaller) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.runMutex.RLock() - defer fake.runMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/sharedaction/sharedactionfakes/fake_config.go b/actor/sharedaction/sharedactionfakes/fake_config.go index 6fffa7978c7..651fa4e8f71 100644 --- a/actor/sharedaction/sharedactionfakes/fake_config.go +++ b/actor/sharedaction/sharedactionfakes/fake_config.go @@ -592,24 +592,6 @@ func (fake *FakeConfig) VerboseReturnsOnCall(i int, result1 bool, result2 []stri func (fake *FakeConfig) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.binaryNameMutex.RLock() - defer fake.binaryNameMutex.RUnlock() - fake.currentUserNameMutex.RLock() - defer fake.currentUserNameMutex.RUnlock() - fake.hasTargetedOrganizationMutex.RLock() - defer fake.hasTargetedOrganizationMutex.RUnlock() - fake.hasTargetedSpaceMutex.RLock() - defer fake.hasTargetedSpaceMutex.RUnlock() - fake.isCFOnK8sMutex.RLock() - defer fake.isCFOnK8sMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.targetedOrganizationNameMutex.RLock() - defer fake.targetedOrganizationNameMutex.RUnlock() - fake.verboseMutex.RLock() - defer fake.verboseMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/sharedaction/sharedactionfakes/fake_log_cache_client.go b/actor/sharedaction/sharedactionfakes/fake_log_cache_client.go index c0859ab810a..745284285c5 100644 --- a/actor/sharedaction/sharedactionfakes/fake_log_cache_client.go +++ b/actor/sharedaction/sharedactionfakes/fake_log_cache_client.go @@ -102,8 +102,6 @@ func (fake *FakeLogCacheClient) ReadReturnsOnCall(i int, result1 []*loggregator_ func (fake *FakeLogCacheClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.readMutex.RLock() - defer fake.readMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/sharedaction/sharedactionfakes/fake_secure_shell_client.go b/actor/sharedaction/sharedactionfakes/fake_secure_shell_client.go index 6122f5ffc17..dd466498888 100644 --- a/actor/sharedaction/sharedactionfakes/fake_secure_shell_client.go +++ b/actor/sharedaction/sharedactionfakes/fake_secure_shell_client.go @@ -378,16 +378,6 @@ func (fake *FakeSecureShellClient) WaitReturnsOnCall(i int, result1 error) { func (fake *FakeSecureShellClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.closeMutex.RLock() - defer fake.closeMutex.RUnlock() - fake.connectMutex.RLock() - defer fake.connectMutex.RUnlock() - fake.interactiveSessionMutex.RLock() - defer fake.interactiveSessionMutex.RUnlock() - fake.localPortForwardMutex.RLock() - defer fake.localPortForwardMutex.RUnlock() - fake.waitMutex.RLock() - defer fake.waitMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_config.go b/actor/v7action/v7actionfakes/fake_config.go index cd46ebbbfc5..73a32a8baeb 100644 --- a/actor/v7action/v7actionfakes/fake_config.go +++ b/actor/v7action/v7actionfakes/fake_config.go @@ -1134,48 +1134,6 @@ func (fake *FakeConfig) UnsetOrganizationAndSpaceInformationCalls(stub func()) { func (fake *FakeConfig) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.aPIVersionMutex.RLock() - defer fake.aPIVersionMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.currentUserMutex.RLock() - defer fake.currentUserMutex.RUnlock() - fake.dialTimeoutMutex.RLock() - defer fake.dialTimeoutMutex.RUnlock() - fake.isCFOnK8sMutex.RLock() - defer fake.isCFOnK8sMutex.RUnlock() - fake.pollingIntervalMutex.RLock() - defer fake.pollingIntervalMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.sSHOAuthClientMutex.RLock() - defer fake.sSHOAuthClientMutex.RUnlock() - fake.setAccessTokenMutex.RLock() - defer fake.setAccessTokenMutex.RUnlock() - fake.setKubernetesAuthInfoMutex.RLock() - defer fake.setKubernetesAuthInfoMutex.RUnlock() - fake.setRefreshTokenMutex.RLock() - defer fake.setRefreshTokenMutex.RUnlock() - fake.setTargetInformationMutex.RLock() - defer fake.setTargetInformationMutex.RUnlock() - fake.setTokenInformationMutex.RLock() - defer fake.setTokenInformationMutex.RUnlock() - fake.setUAAClientCredentialsMutex.RLock() - defer fake.setUAAClientCredentialsMutex.RUnlock() - fake.setUAAGrantTypeMutex.RLock() - defer fake.setUAAGrantTypeMutex.RUnlock() - fake.skipSSLValidationMutex.RLock() - defer fake.skipSSLValidationMutex.RUnlock() - fake.stagingTimeoutMutex.RLock() - defer fake.stagingTimeoutMutex.RUnlock() - fake.startupTimeoutMutex.RLock() - defer fake.startupTimeoutMutex.RUnlock() - fake.targetMutex.RLock() - defer fake.targetMutex.RUnlock() - fake.uAAGrantTypeMutex.RLock() - defer fake.uAAGrantTypeMutex.RUnlock() - fake.unsetOrganizationAndSpaceInformationMutex.RLock() - defer fake.unsetOrganizationAndSpaceInformationMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_downloader.go b/actor/v7action/v7actionfakes/fake_downloader.go index 4545618272a..d77a875d875 100644 --- a/actor/v7action/v7actionfakes/fake_downloader.go +++ b/actor/v7action/v7actionfakes/fake_downloader.go @@ -94,8 +94,6 @@ func (fake *FakeDownloader) DownloadReturnsOnCall(i int, result1 string, result2 func (fake *FakeDownloader) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.downloadMutex.RLock() - defer fake.downloadMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_kubernetes_config_getter.go b/actor/v7action/v7actionfakes/fake_kubernetes_config_getter.go index 7102e140b63..4336bf2e2e8 100644 --- a/actor/v7action/v7actionfakes/fake_kubernetes_config_getter.go +++ b/actor/v7action/v7actionfakes/fake_kubernetes_config_getter.go @@ -84,8 +84,6 @@ func (fake *FakeKubernetesConfigGetter) GetReturnsOnCall(i int, result1 *api.Con func (fake *FakeKubernetesConfigGetter) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getMutex.RLock() - defer fake.getMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_manifest_parser.go b/actor/v7action/v7actionfakes/fake_manifest_parser.go index 6d93fd4df35..73bf7ac4f52 100644 --- a/actor/v7action/v7actionfakes/fake_manifest_parser.go +++ b/actor/v7action/v7actionfakes/fake_manifest_parser.go @@ -155,10 +155,6 @@ func (fake *FakeManifestParser) RawAppManifestReturnsOnCall(i int, result1 []byt func (fake *FakeManifestParser) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.appNamesMutex.RLock() - defer fake.appNamesMutex.RUnlock() - fake.rawAppManifestMutex.RLock() - defer fake.rawAppManifestMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_routing_client.go b/actor/v7action/v7actionfakes/fake_routing_client.go index d7be3997593..73b5f6fafb3 100644 --- a/actor/v7action/v7actionfakes/fake_routing_client.go +++ b/actor/v7action/v7actionfakes/fake_routing_client.go @@ -161,10 +161,6 @@ func (fake *FakeRoutingClient) GetRouterGroupsReturnsOnCall(i int, result1 []rou func (fake *FakeRoutingClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getRouterGroupByNameMutex.RLock() - defer fake.getRouterGroupByNameMutex.RUnlock() - fake.getRouterGroupsMutex.RLock() - defer fake.getRouterGroupsMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_shared_actor.go b/actor/v7action/v7actionfakes/fake_shared_actor.go index 1601a0e3e99..1c60d5b4bec 100644 --- a/actor/v7action/v7actionfakes/fake_shared_actor.go +++ b/actor/v7action/v7actionfakes/fake_shared_actor.go @@ -338,14 +338,6 @@ func (fake *FakeSharedActor) ZipDirectoryResourcesReturnsOnCall(i int, result1 s func (fake *FakeSharedActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.gatherArchiveResourcesMutex.RLock() - defer fake.gatherArchiveResourcesMutex.RUnlock() - fake.gatherDirectoryResourcesMutex.RLock() - defer fake.gatherDirectoryResourcesMutex.RUnlock() - fake.zipArchiveResourcesMutex.RLock() - defer fake.zipArchiveResourcesMutex.RUnlock() - fake.zipDirectoryResourcesMutex.RLock() - defer fake.zipDirectoryResourcesMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_simple_progress_bar.go b/actor/v7action/v7actionfakes/fake_simple_progress_bar.go index 0e2b05b6486..19d9442f101 100644 --- a/actor/v7action/v7actionfakes/fake_simple_progress_bar.go +++ b/actor/v7action/v7actionfakes/fake_simple_progress_bar.go @@ -126,10 +126,6 @@ func (fake *FakeSimpleProgressBar) TerminateCalls(stub func()) { func (fake *FakeSimpleProgressBar) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.initializeMutex.RLock() - defer fake.initializeMutex.RUnlock() - fake.terminateMutex.RLock() - defer fake.terminateMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_sshactor.go b/actor/v7action/v7actionfakes/fake_sshactor.go index f849722dd78..24cf1c167be 100644 --- a/actor/v7action/v7actionfakes/fake_sshactor.go +++ b/actor/v7action/v7actionfakes/fake_sshactor.go @@ -88,8 +88,6 @@ func (fake *FakeSSHActor) ExecuteSecureShellReturnsOnCall(i int, result1 error) func (fake *FakeSSHActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.executeSecureShellMutex.RLock() - defer fake.executeSecureShellMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_uaaclient.go b/actor/v7action/v7actionfakes/fake_uaaclient.go index 517b7ec9afa..ae1e07303ac 100644 --- a/actor/v7action/v7actionfakes/fake_uaaclient.go +++ b/actor/v7action/v7actionfakes/fake_uaaclient.go @@ -852,28 +852,6 @@ func (fake *FakeUAAClient) ValidateClientUserReturnsOnCall(i int, result1 error) func (fake *FakeUAAClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.authenticateMutex.RLock() - defer fake.authenticateMutex.RUnlock() - fake.createUserMutex.RLock() - defer fake.createUserMutex.RUnlock() - fake.deleteUserMutex.RLock() - defer fake.deleteUserMutex.RUnlock() - fake.getAPIVersionMutex.RLock() - defer fake.getAPIVersionMutex.RUnlock() - fake.getLoginPromptsMutex.RLock() - defer fake.getLoginPromptsMutex.RUnlock() - fake.getSSHPasscodeMutex.RLock() - defer fake.getSSHPasscodeMutex.RUnlock() - fake.listUsersMutex.RLock() - defer fake.listUsersMutex.RUnlock() - fake.refreshAccessTokenMutex.RLock() - defer fake.refreshAccessTokenMutex.RUnlock() - fake.revokeMutex.RLock() - defer fake.revokeMutex.RUnlock() - fake.updatePasswordMutex.RLock() - defer fake.updatePasswordMutex.RUnlock() - fake.validateClientUserMutex.RLock() - defer fake.validateClientUserMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7action/v7actionfakes/fake_who_am_ier.go b/actor/v7action/v7actionfakes/fake_who_am_ier.go index 78dfee83e99..46640859a22 100644 --- a/actor/v7action/v7actionfakes/fake_who_am_ier.go +++ b/actor/v7action/v7actionfakes/fake_who_am_ier.go @@ -90,8 +90,6 @@ func (fake *FakeWhoAmIer) WhoAmIReturnsOnCall(i int, result1 resources.K8sUser, func (fake *FakeWhoAmIer) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.whoAmIMutex.RLock() - defer fake.whoAmIMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7pushaction/v7pushactionfakes/fake_progress_bar.go b/actor/v7pushaction/v7pushactionfakes/fake_progress_bar.go index 2e6a43ae7e0..0934a0bcb2a 100644 --- a/actor/v7pushaction/v7pushactionfakes/fake_progress_bar.go +++ b/actor/v7pushaction/v7pushactionfakes/fake_progress_bar.go @@ -90,8 +90,6 @@ func (fake *FakeProgressBar) NewProgressBarWrapperReturnsOnCall(i int, result1 i func (fake *FakeProgressBar) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.newProgressBarWrapperMutex.RLock() - defer fake.newProgressBarWrapperMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7pushaction/v7pushactionfakes/fake_read_closer.go b/actor/v7pushaction/v7pushactionfakes/fake_read_closer.go index 2adfd1e23bc..7b598e77d61 100644 --- a/actor/v7pushaction/v7pushactionfakes/fake_read_closer.go +++ b/actor/v7pushaction/v7pushactionfakes/fake_read_closer.go @@ -159,10 +159,6 @@ func (fake *FakeReadCloser) ReadReturnsOnCall(i int, result1 int, result2 error) func (fake *FakeReadCloser) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.closeMutex.RLock() - defer fake.closeMutex.RUnlock() - fake.readMutex.RLock() - defer fake.readMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7pushaction/v7pushactionfakes/fake_shared_actor.go b/actor/v7pushaction/v7pushactionfakes/fake_shared_actor.go index 0ab156444a0..637cc5c874a 100644 --- a/actor/v7pushaction/v7pushactionfakes/fake_shared_actor.go +++ b/actor/v7pushaction/v7pushactionfakes/fake_shared_actor.go @@ -421,16 +421,6 @@ func (fake *FakeSharedActor) ZipDirectoryResourcesReturnsOnCall(i int, result1 s func (fake *FakeSharedActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.gatherArchiveResourcesMutex.RLock() - defer fake.gatherArchiveResourcesMutex.RUnlock() - fake.gatherDirectoryResourcesMutex.RLock() - defer fake.gatherDirectoryResourcesMutex.RUnlock() - fake.readArchiveMutex.RLock() - defer fake.readArchiveMutex.RUnlock() - fake.zipArchiveResourcesMutex.RLock() - defer fake.zipArchiveResourcesMutex.RUnlock() - fake.zipDirectoryResourcesMutex.RLock() - defer fake.zipDirectoryResourcesMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/actor/v7pushaction/v7pushactionfakes/fake_v7actor.go b/actor/v7pushaction/v7pushactionfakes/fake_v7actor.go index b1b50fcff92..57d0907c731 100644 --- a/actor/v7pushaction/v7pushactionfakes/fake_v7actor.go +++ b/actor/v7pushaction/v7pushactionfakes/fake_v7actor.go @@ -2761,72 +2761,6 @@ func (fake *FakeV7Actor) UploadDropletReturnsOnCall(i int, result1 v7action.Warn func (fake *FakeV7Actor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.createApplicationDropletMutex.RLock() - defer fake.createApplicationDropletMutex.RUnlock() - fake.createApplicationInSpaceMutex.RLock() - defer fake.createApplicationInSpaceMutex.RUnlock() - fake.createBitsPackageByApplicationMutex.RLock() - defer fake.createBitsPackageByApplicationMutex.RUnlock() - fake.createDeploymentMutex.RLock() - defer fake.createDeploymentMutex.RUnlock() - fake.createDockerPackageByApplicationMutex.RLock() - defer fake.createDockerPackageByApplicationMutex.RUnlock() - fake.createRouteMutex.RLock() - defer fake.createRouteMutex.RUnlock() - fake.getApplicationByNameAndSpaceMutex.RLock() - defer fake.getApplicationByNameAndSpaceMutex.RUnlock() - fake.getApplicationDropletsMutex.RLock() - defer fake.getApplicationDropletsMutex.RUnlock() - fake.getApplicationRoutesMutex.RLock() - defer fake.getApplicationRoutesMutex.RUnlock() - fake.getApplicationsByNamesAndSpaceMutex.RLock() - defer fake.getApplicationsByNamesAndSpaceMutex.RUnlock() - fake.getDefaultDomainMutex.RLock() - defer fake.getDefaultDomainMutex.RUnlock() - fake.getDomainMutex.RLock() - defer fake.getDomainMutex.RUnlock() - fake.getRouteByAttributesMutex.RLock() - defer fake.getRouteByAttributesMutex.RUnlock() - fake.getRouteDestinationByAppGUIDMutex.RLock() - defer fake.getRouteDestinationByAppGUIDMutex.RUnlock() - fake.mapRouteMutex.RLock() - defer fake.mapRouteMutex.RUnlock() - fake.pollBuildMutex.RLock() - defer fake.pollBuildMutex.RUnlock() - fake.pollPackageMutex.RLock() - defer fake.pollPackageMutex.RUnlock() - fake.pollStartMutex.RLock() - defer fake.pollStartMutex.RUnlock() - fake.pollStartForDeploymentMutex.RLock() - defer fake.pollStartForDeploymentMutex.RUnlock() - fake.resourceMatchMutex.RLock() - defer fake.resourceMatchMutex.RUnlock() - fake.restartApplicationMutex.RLock() - defer fake.restartApplicationMutex.RUnlock() - fake.scaleProcessByApplicationMutex.RLock() - defer fake.scaleProcessByApplicationMutex.RUnlock() - fake.setApplicationDropletMutex.RLock() - defer fake.setApplicationDropletMutex.RUnlock() - fake.setApplicationManifestMutex.RLock() - defer fake.setApplicationManifestMutex.RUnlock() - fake.setSpaceManifestMutex.RLock() - defer fake.setSpaceManifestMutex.RUnlock() - fake.stageApplicationPackageMutex.RLock() - defer fake.stageApplicationPackageMutex.RUnlock() - fake.stopApplicationMutex.RLock() - defer fake.stopApplicationMutex.RUnlock() - fake.unmapRouteMutex.RLock() - defer fake.unmapRouteMutex.RUnlock() - fake.updateApplicationMutex.RLock() - defer fake.updateApplicationMutex.RUnlock() - fake.updateProcessByTypeAndApplicationMutex.RLock() - defer fake.updateProcessByTypeAndApplicationMutex.RUnlock() - fake.updateRouteMutex.RLock() - defer fake.updateRouteMutex.RUnlock() - fake.uploadBitsPackageMutex.RLock() - defer fake.uploadBitsPackageMutex.RUnlock() - fake.uploadDropletMutex.RLock() - defer fake.uploadDropletMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cfnetworking/cfnetv1/cfnetv1fakes/fake_connection_wrapper.go b/api/cfnetworking/cfnetv1/cfnetv1fakes/fake_connection_wrapper.go index 5ada76a17d7..65e66f3063e 100644 --- a/api/cfnetworking/cfnetv1/cfnetv1fakes/fake_connection_wrapper.go +++ b/api/cfnetworking/cfnetv1/cfnetv1fakes/fake_connection_wrapper.go @@ -162,10 +162,6 @@ func (fake *FakeConnectionWrapper) WrapReturnsOnCall(i int, result1 cfnetworking func (fake *FakeConnectionWrapper) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() - fake.wrapMutex.RLock() - defer fake.wrapMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cfnetworking/cfnetworkingfakes/fake_connection.go b/api/cfnetworking/cfnetworkingfakes/fake_connection.go index 157903f772c..324075ace10 100644 --- a/api/cfnetworking/cfnetworkingfakes/fake_connection.go +++ b/api/cfnetworking/cfnetworkingfakes/fake_connection.go @@ -89,8 +89,6 @@ func (fake *FakeConnection) MakeReturnsOnCall(i int, result1 error) { func (fake *FakeConnection) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cfnetworking/cfnetworkingfakes/fake_read_seeker.go b/api/cfnetworking/cfnetworkingfakes/fake_read_seeker.go index 1e759ee28c1..66ca8b95304 100644 --- a/api/cfnetworking/cfnetworkingfakes/fake_read_seeker.go +++ b/api/cfnetworking/cfnetworkingfakes/fake_read_seeker.go @@ -176,10 +176,6 @@ func (fake *FakeReadSeeker) SeekReturnsOnCall(i int, result1 int64, result2 erro func (fake *FakeReadSeeker) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.readMutex.RLock() - defer fake.readMutex.RUnlock() - fake.seekMutex.RLock() - defer fake.seekMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cfnetworking/wrapper/wrapperfakes/fake_request_logger_output.go b/api/cfnetworking/wrapper/wrapperfakes/fake_request_logger_output.go index 837896b75f2..c8a858cb847 100644 --- a/api/cfnetworking/wrapper/wrapperfakes/fake_request_logger_output.go +++ b/api/cfnetworking/wrapper/wrapperfakes/fake_request_logger_output.go @@ -698,26 +698,6 @@ func (fake *FakeRequestLoggerOutput) StopReturnsOnCall(i int, result1 error) { func (fake *FakeRequestLoggerOutput) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.displayHeaderMutex.RLock() - defer fake.displayHeaderMutex.RUnlock() - fake.displayHostMutex.RLock() - defer fake.displayHostMutex.RUnlock() - fake.displayJSONBodyMutex.RLock() - defer fake.displayJSONBodyMutex.RUnlock() - fake.displayMessageMutex.RLock() - defer fake.displayMessageMutex.RUnlock() - fake.displayRequestHeaderMutex.RLock() - defer fake.displayRequestHeaderMutex.RUnlock() - fake.displayResponseHeaderMutex.RLock() - defer fake.displayResponseHeaderMutex.RUnlock() - fake.displayTypeMutex.RLock() - defer fake.displayTypeMutex.RUnlock() - fake.handleInternalErrorMutex.RLock() - defer fake.handleInternalErrorMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() - fake.stopMutex.RLock() - defer fake.stopMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cfnetworking/wrapper/wrapperfakes/fake_token_cache.go b/api/cfnetworking/wrapper/wrapperfakes/fake_token_cache.go index 8742715ee4a..374d8cb6b19 100644 --- a/api/cfnetworking/wrapper/wrapperfakes/fake_token_cache.go +++ b/api/cfnetworking/wrapper/wrapperfakes/fake_token_cache.go @@ -215,14 +215,6 @@ func (fake *FakeTokenCache) SetRefreshTokenArgsForCall(i int) string { func (fake *FakeTokenCache) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.setAccessTokenMutex.RLock() - defer fake.setAccessTokenMutex.RUnlock() - fake.setRefreshTokenMutex.RLock() - defer fake.setRefreshTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cfnetworking/wrapper/wrapperfakes/fake_uaaclient.go b/api/cfnetworking/wrapper/wrapperfakes/fake_uaaclient.go index 92d8ad16214..1c8f6c84d85 100644 --- a/api/cfnetworking/wrapper/wrapperfakes/fake_uaaclient.go +++ b/api/cfnetworking/wrapper/wrapperfakes/fake_uaaclient.go @@ -93,8 +93,6 @@ func (fake *FakeUAAClient) RefreshAccessTokenReturnsOnCall(i int, result1 uaa.Re func (fake *FakeUAAClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.refreshAccessTokenMutex.RLock() - defer fake.refreshAccessTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/ccv3/ccv3fakes/fake_clock.go b/api/cloudcontroller/ccv3/ccv3fakes/fake_clock.go index 0324ac5ef03..204be49973a 100644 --- a/api/cloudcontroller/ccv3/ccv3fakes/fake_clock.go +++ b/api/cloudcontroller/ccv3/ccv3fakes/fake_clock.go @@ -79,8 +79,6 @@ func (fake *FakeClock) NowReturnsOnCall(i int, result1 time.Time) { func (fake *FakeClock) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.nowMutex.RLock() - defer fake.nowMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/ccv3/ccv3fakes/fake_connection_wrapper.go b/api/cloudcontroller/ccv3/ccv3fakes/fake_connection_wrapper.go index e8cf670369e..d8e25d182be 100644 --- a/api/cloudcontroller/ccv3/ccv3fakes/fake_connection_wrapper.go +++ b/api/cloudcontroller/ccv3/ccv3fakes/fake_connection_wrapper.go @@ -162,10 +162,6 @@ func (fake *FakeConnectionWrapper) WrapReturnsOnCall(i int, result1 cloudcontrol func (fake *FakeConnectionWrapper) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() - fake.wrapMutex.RLock() - defer fake.wrapMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/ccv3/ccv3fakes/fake_reader.go b/api/cloudcontroller/ccv3/ccv3fakes/fake_reader.go index 395fb77fea9..cacd86353e1 100644 --- a/api/cloudcontroller/ccv3/ccv3fakes/fake_reader.go +++ b/api/cloudcontroller/ccv3/ccv3fakes/fake_reader.go @@ -96,8 +96,6 @@ func (fake *FakeReader) ReadReturnsOnCall(i int, result1 int, result2 error) { func (fake *FakeReader) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.readMutex.RLock() - defer fake.readMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/ccv3/ccv3fakes/fake_requester.go b/api/cloudcontroller/ccv3/ccv3fakes/fake_requester.go index 1f387b5c54f..e3014250b87 100644 --- a/api/cloudcontroller/ccv3/ccv3fakes/fake_requester.go +++ b/api/cloudcontroller/ccv3/ccv3fakes/fake_requester.go @@ -661,24 +661,6 @@ func (fake *FakeRequester) WrapConnectionArgsForCall(i int) ccv3.ConnectionWrapp func (fake *FakeRequester) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.initializeConnectionMutex.RLock() - defer fake.initializeConnectionMutex.RUnlock() - fake.initializeRouterMutex.RLock() - defer fake.initializeRouterMutex.RUnlock() - fake.makeListRequestMutex.RLock() - defer fake.makeListRequestMutex.RUnlock() - fake.makeRequestMutex.RLock() - defer fake.makeRequestMutex.RUnlock() - fake.makeRequestReceiveRawMutex.RLock() - defer fake.makeRequestReceiveRawMutex.RUnlock() - fake.makeRequestSendRawMutex.RLock() - defer fake.makeRequestSendRawMutex.RUnlock() - fake.makeRequestSendReceiveRawMutex.RLock() - defer fake.makeRequestSendReceiveRawMutex.RUnlock() - fake.makeRequestUploadAsyncMutex.RLock() - defer fake.makeRequestUploadAsyncMutex.RUnlock() - fake.wrapConnectionMutex.RLock() - defer fake.wrapConnectionMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/cloudcontrollerfakes/fake_connection.go b/api/cloudcontroller/cloudcontrollerfakes/fake_connection.go index 58d44d9b11e..9495fb42c58 100644 --- a/api/cloudcontroller/cloudcontrollerfakes/fake_connection.go +++ b/api/cloudcontroller/cloudcontrollerfakes/fake_connection.go @@ -89,8 +89,6 @@ func (fake *FakeConnection) MakeReturnsOnCall(i int, result1 error) { func (fake *FakeConnection) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/wrapper/wrapperfakes/fake_request_logger_output.go b/api/cloudcontroller/wrapper/wrapperfakes/fake_request_logger_output.go index 9b508745ce7..ded7cb5793f 100644 --- a/api/cloudcontroller/wrapper/wrapperfakes/fake_request_logger_output.go +++ b/api/cloudcontroller/wrapper/wrapperfakes/fake_request_logger_output.go @@ -698,26 +698,6 @@ func (fake *FakeRequestLoggerOutput) StopReturnsOnCall(i int, result1 error) { func (fake *FakeRequestLoggerOutput) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.displayHeaderMutex.RLock() - defer fake.displayHeaderMutex.RUnlock() - fake.displayHostMutex.RLock() - defer fake.displayHostMutex.RUnlock() - fake.displayJSONBodyMutex.RLock() - defer fake.displayJSONBodyMutex.RUnlock() - fake.displayMessageMutex.RLock() - defer fake.displayMessageMutex.RUnlock() - fake.displayRequestHeaderMutex.RLock() - defer fake.displayRequestHeaderMutex.RUnlock() - fake.displayResponseHeaderMutex.RLock() - defer fake.displayResponseHeaderMutex.RUnlock() - fake.displayTypeMutex.RLock() - defer fake.displayTypeMutex.RUnlock() - fake.handleInternalErrorMutex.RLock() - defer fake.handleInternalErrorMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() - fake.stopMutex.RLock() - defer fake.stopMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/wrapper/wrapperfakes/fake_token_cache.go b/api/cloudcontroller/wrapper/wrapperfakes/fake_token_cache.go index 6d0de701fcb..98cc21af8f8 100644 --- a/api/cloudcontroller/wrapper/wrapperfakes/fake_token_cache.go +++ b/api/cloudcontroller/wrapper/wrapperfakes/fake_token_cache.go @@ -215,14 +215,6 @@ func (fake *FakeTokenCache) SetRefreshTokenArgsForCall(i int) string { func (fake *FakeTokenCache) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.setAccessTokenMutex.RLock() - defer fake.setAccessTokenMutex.RUnlock() - fake.setRefreshTokenMutex.RLock() - defer fake.setRefreshTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/cloudcontroller/wrapper/wrapperfakes/fake_uaaclient.go b/api/cloudcontroller/wrapper/wrapperfakes/fake_uaaclient.go index 4e7bf73d99e..be7d4a70fe6 100644 --- a/api/cloudcontroller/wrapper/wrapperfakes/fake_uaaclient.go +++ b/api/cloudcontroller/wrapper/wrapperfakes/fake_uaaclient.go @@ -93,8 +93,6 @@ func (fake *FakeUAAClient) RefreshAccessTokenReturnsOnCall(i int, result1 uaa.Re func (fake *FakeUAAClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.refreshAccessTokenMutex.RLock() - defer fake.refreshAccessTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/plugin/pluginfakes/fake_connection.go b/api/plugin/pluginfakes/fake_connection.go index 57cd4630692..edaf10f8ee4 100644 --- a/api/plugin/pluginfakes/fake_connection.go +++ b/api/plugin/pluginfakes/fake_connection.go @@ -92,8 +92,6 @@ func (fake *FakeConnection) MakeReturnsOnCall(i int, result1 error) { func (fake *FakeConnection) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/plugin/pluginfakes/fake_connection_wrapper.go b/api/plugin/pluginfakes/fake_connection_wrapper.go index f2838fcadf1..82f5c44ad9b 100644 --- a/api/plugin/pluginfakes/fake_connection_wrapper.go +++ b/api/plugin/pluginfakes/fake_connection_wrapper.go @@ -164,10 +164,6 @@ func (fake *FakeConnectionWrapper) WrapReturnsOnCall(i int, result1 plugin.Conne func (fake *FakeConnectionWrapper) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() - fake.wrapMutex.RLock() - defer fake.wrapMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/plugin/pluginfakes/fake_proxy_reader.go b/api/plugin/pluginfakes/fake_proxy_reader.go index b6027c8dfc8..25f7074bada 100644 --- a/api/plugin/pluginfakes/fake_proxy_reader.go +++ b/api/plugin/pluginfakes/fake_proxy_reader.go @@ -153,12 +153,6 @@ func (fake *FakeProxyReader) WrapReturnsOnCall(i int, result1 io.ReadCloser) { func (fake *FakeProxyReader) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.finishMutex.RLock() - defer fake.finishMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() - fake.wrapMutex.RLock() - defer fake.wrapMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/plugin/wrapper/wrapperfakes/fake_request_logger_output.go b/api/plugin/wrapper/wrapperfakes/fake_request_logger_output.go index b5e812a9db5..58451eb662e 100644 --- a/api/plugin/wrapper/wrapperfakes/fake_request_logger_output.go +++ b/api/plugin/wrapper/wrapperfakes/fake_request_logger_output.go @@ -698,26 +698,6 @@ func (fake *FakeRequestLoggerOutput) StopReturnsOnCall(i int, result1 error) { func (fake *FakeRequestLoggerOutput) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.displayDumpMutex.RLock() - defer fake.displayDumpMutex.RUnlock() - fake.displayHeaderMutex.RLock() - defer fake.displayHeaderMutex.RUnlock() - fake.displayHostMutex.RLock() - defer fake.displayHostMutex.RUnlock() - fake.displayJSONBodyMutex.RLock() - defer fake.displayJSONBodyMutex.RUnlock() - fake.displayRequestHeaderMutex.RLock() - defer fake.displayRequestHeaderMutex.RUnlock() - fake.displayResponseHeaderMutex.RLock() - defer fake.displayResponseHeaderMutex.RUnlock() - fake.displayTypeMutex.RLock() - defer fake.displayTypeMutex.RUnlock() - fake.handleInternalErrorMutex.RLock() - defer fake.handleInternalErrorMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() - fake.stopMutex.RLock() - defer fake.stopMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/router/routerfakes/fake_connection.go b/api/router/routerfakes/fake_connection.go index e4eb68757ef..95c619eb821 100644 --- a/api/router/routerfakes/fake_connection.go +++ b/api/router/routerfakes/fake_connection.go @@ -89,8 +89,6 @@ func (fake *FakeConnection) MakeReturnsOnCall(i int, result1 error) { func (fake *FakeConnection) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/router/routerfakes/fake_connection_wrapper.go b/api/router/routerfakes/fake_connection_wrapper.go index 8d6eccb3984..4e7831dbdef 100644 --- a/api/router/routerfakes/fake_connection_wrapper.go +++ b/api/router/routerfakes/fake_connection_wrapper.go @@ -161,10 +161,6 @@ func (fake *FakeConnectionWrapper) WrapReturnsOnCall(i int, result1 router.Conne func (fake *FakeConnectionWrapper) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() - fake.wrapMutex.RLock() - defer fake.wrapMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/router/wrapper/wrapperfakes/fake_request_logger_output.go b/api/router/wrapper/wrapperfakes/fake_request_logger_output.go index e8fe80457b8..d4707346165 100644 --- a/api/router/wrapper/wrapperfakes/fake_request_logger_output.go +++ b/api/router/wrapper/wrapperfakes/fake_request_logger_output.go @@ -698,26 +698,6 @@ func (fake *FakeRequestLoggerOutput) StopReturnsOnCall(i int, result1 error) { func (fake *FakeRequestLoggerOutput) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.displayHeaderMutex.RLock() - defer fake.displayHeaderMutex.RUnlock() - fake.displayHostMutex.RLock() - defer fake.displayHostMutex.RUnlock() - fake.displayJSONBodyMutex.RLock() - defer fake.displayJSONBodyMutex.RUnlock() - fake.displayMessageMutex.RLock() - defer fake.displayMessageMutex.RUnlock() - fake.displayRequestHeaderMutex.RLock() - defer fake.displayRequestHeaderMutex.RUnlock() - fake.displayResponseHeaderMutex.RLock() - defer fake.displayResponseHeaderMutex.RUnlock() - fake.displayTypeMutex.RLock() - defer fake.displayTypeMutex.RUnlock() - fake.handleInternalErrorMutex.RLock() - defer fake.handleInternalErrorMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() - fake.stopMutex.RLock() - defer fake.stopMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/router/wrapper/wrapperfakes/fake_token_cache.go b/api/router/wrapper/wrapperfakes/fake_token_cache.go index 5f97569a257..66a6b314425 100644 --- a/api/router/wrapper/wrapperfakes/fake_token_cache.go +++ b/api/router/wrapper/wrapperfakes/fake_token_cache.go @@ -215,14 +215,6 @@ func (fake *FakeTokenCache) SetRefreshTokenArgsForCall(i int) string { func (fake *FakeTokenCache) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.setAccessTokenMutex.RLock() - defer fake.setAccessTokenMutex.RUnlock() - fake.setRefreshTokenMutex.RLock() - defer fake.setRefreshTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/router/wrapper/wrapperfakes/fake_uaaclient.go b/api/router/wrapper/wrapperfakes/fake_uaaclient.go index d5761ef0434..1b78f989289 100644 --- a/api/router/wrapper/wrapperfakes/fake_uaaclient.go +++ b/api/router/wrapper/wrapperfakes/fake_uaaclient.go @@ -93,8 +93,6 @@ func (fake *FakeUAAClient) RefreshAccessTokenReturnsOnCall(i int, result1 uaa.Re func (fake *FakeUAAClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.refreshAccessTokenMutex.RLock() - defer fake.refreshAccessTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/shared/sharedfakes/fake_round_tripper.go b/api/shared/sharedfakes/fake_round_tripper.go index e8c0e9dd4f4..890bb8b8dfc 100644 --- a/api/shared/sharedfakes/fake_round_tripper.go +++ b/api/shared/sharedfakes/fake_round_tripper.go @@ -91,8 +91,6 @@ func (fake *FakeRoundTripper) RoundTripReturnsOnCall(i int, result1 *http.Respon func (fake *FakeRoundTripper) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.roundTripMutex.RLock() - defer fake.roundTripMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/noaabridge/noaabridgefakes/fake_token_cache.go b/api/uaa/noaabridge/noaabridgefakes/fake_token_cache.go index b447e8e75a7..e1ea85faff8 100644 --- a/api/uaa/noaabridge/noaabridgefakes/fake_token_cache.go +++ b/api/uaa/noaabridge/noaabridgefakes/fake_token_cache.go @@ -152,12 +152,6 @@ func (fake *FakeTokenCache) SetRefreshTokenArgsForCall(i int) string { func (fake *FakeTokenCache) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.setAccessTokenMutex.RLock() - defer fake.setAccessTokenMutex.RUnlock() - fake.setRefreshTokenMutex.RLock() - defer fake.setRefreshTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/noaabridge/noaabridgefakes/fake_uaaclient.go b/api/uaa/noaabridge/noaabridgefakes/fake_uaaclient.go index 33f852090a4..87ce8a7035d 100644 --- a/api/uaa/noaabridge/noaabridgefakes/fake_uaaclient.go +++ b/api/uaa/noaabridge/noaabridgefakes/fake_uaaclient.go @@ -93,8 +93,6 @@ func (fake *FakeUAAClient) RefreshAccessTokenReturnsOnCall(i int, result1 uaa.Re func (fake *FakeUAAClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.refreshAccessTokenMutex.RLock() - defer fake.refreshAccessTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/uaafakes/fake_config.go b/api/uaa/uaafakes/fake_config.go index 806b3033689..4c68329e9dd 100644 --- a/api/uaa/uaafakes/fake_config.go +++ b/api/uaa/uaafakes/fake_config.go @@ -557,24 +557,6 @@ func (fake *FakeConfig) UAAOAuthClientSecretReturnsOnCall(i int, result1 string) func (fake *FakeConfig) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.binaryNameMutex.RLock() - defer fake.binaryNameMutex.RUnlock() - fake.binaryVersionMutex.RLock() - defer fake.binaryVersionMutex.RUnlock() - fake.dialTimeoutMutex.RLock() - defer fake.dialTimeoutMutex.RUnlock() - fake.setUAAEndpointMutex.RLock() - defer fake.setUAAEndpointMutex.RUnlock() - fake.skipSSLValidationMutex.RLock() - defer fake.skipSSLValidationMutex.RUnlock() - fake.uAADisableKeepAlivesMutex.RLock() - defer fake.uAADisableKeepAlivesMutex.RUnlock() - fake.uAAGrantTypeMutex.RLock() - defer fake.uAAGrantTypeMutex.RUnlock() - fake.uAAOAuthClientMutex.RLock() - defer fake.uAAOAuthClientMutex.RUnlock() - fake.uAAOAuthClientSecretMutex.RLock() - defer fake.uAAOAuthClientSecretMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/uaafakes/fake_connection.go b/api/uaa/uaafakes/fake_connection.go index a6b251de882..30ee836524c 100644 --- a/api/uaa/uaafakes/fake_connection.go +++ b/api/uaa/uaafakes/fake_connection.go @@ -90,8 +90,6 @@ func (fake *FakeConnection) MakeReturnsOnCall(i int, result1 error) { func (fake *FakeConnection) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/uaafakes/fake_connection_wrapper.go b/api/uaa/uaafakes/fake_connection_wrapper.go index b909fb89678..27852dafc65 100644 --- a/api/uaa/uaafakes/fake_connection_wrapper.go +++ b/api/uaa/uaafakes/fake_connection_wrapper.go @@ -162,10 +162,6 @@ func (fake *FakeConnectionWrapper) WrapReturnsOnCall(i int, result1 uaa.Connecti func (fake *FakeConnectionWrapper) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.makeMutex.RLock() - defer fake.makeMutex.RUnlock() - fake.wrapMutex.RLock() - defer fake.wrapMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/wrapper/wrapperfakes/fake_request_logger_output.go b/api/uaa/wrapper/wrapperfakes/fake_request_logger_output.go index 11498a4ecf3..f807b08cb3d 100644 --- a/api/uaa/wrapper/wrapperfakes/fake_request_logger_output.go +++ b/api/uaa/wrapper/wrapperfakes/fake_request_logger_output.go @@ -703,26 +703,6 @@ func (fake *FakeRequestLoggerOutput) StopReturnsOnCall(i int, result1 error) { func (fake *FakeRequestLoggerOutput) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.displayBodyMutex.RLock() - defer fake.displayBodyMutex.RUnlock() - fake.displayHeaderMutex.RLock() - defer fake.displayHeaderMutex.RUnlock() - fake.displayHostMutex.RLock() - defer fake.displayHostMutex.RUnlock() - fake.displayJSONBodyMutex.RLock() - defer fake.displayJSONBodyMutex.RUnlock() - fake.displayRequestHeaderMutex.RLock() - defer fake.displayRequestHeaderMutex.RUnlock() - fake.displayResponseHeaderMutex.RLock() - defer fake.displayResponseHeaderMutex.RUnlock() - fake.displayTypeMutex.RLock() - defer fake.displayTypeMutex.RUnlock() - fake.handleInternalErrorMutex.RLock() - defer fake.handleInternalErrorMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() - fake.stopMutex.RLock() - defer fake.stopMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/wrapper/wrapperfakes/fake_token_cache.go b/api/uaa/wrapper/wrapperfakes/fake_token_cache.go index e7120ceaa93..29db4e52a25 100644 --- a/api/uaa/wrapper/wrapperfakes/fake_token_cache.go +++ b/api/uaa/wrapper/wrapperfakes/fake_token_cache.go @@ -215,14 +215,6 @@ func (fake *FakeTokenCache) SetRefreshTokenArgsForCall(i int) string { func (fake *FakeTokenCache) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.setAccessTokenMutex.RLock() - defer fake.setAccessTokenMutex.RUnlock() - fake.setRefreshTokenMutex.RLock() - defer fake.setRefreshTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/api/uaa/wrapper/wrapperfakes/fake_uaaclient.go b/api/uaa/wrapper/wrapperfakes/fake_uaaclient.go index 47a9d7184b3..eee9d85f601 100644 --- a/api/uaa/wrapper/wrapperfakes/fake_uaaclient.go +++ b/api/uaa/wrapper/wrapperfakes/fake_uaaclient.go @@ -93,8 +93,6 @@ func (fake *FakeUAAClient) RefreshAccessTokenReturnsOnCall(i int, result1 uaa.Re func (fake *FakeUAAClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.refreshAccessTokenMutex.RLock() - defer fake.refreshAccessTokenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/commandfakes/fake_config.go b/command/commandfakes/fake_config.go index e1824fb3c2f..32c8d841d74 100644 --- a/command/commandfakes/fake_config.go +++ b/command/commandfakes/fake_config.go @@ -51,16 +51,6 @@ type FakeConfig struct { authorizationEndpointReturnsOnCall map[int]struct { result1 string } - B3SpanIDStub func() string - b3SpanIDMutex sync.RWMutex - b3SpanIDArgsForCall []struct { - } - b3SpanIDReturns struct { - result1 string - } - b3SpanIDReturnsOnCall map[int]struct { - result1 string - } B3TraceIDStub func() string b3TraceIDMutex sync.RWMutex b3TraceIDArgsForCall []struct { @@ -887,59 +877,6 @@ func (fake *FakeConfig) AuthorizationEndpointReturnsOnCall(i int, result1 string }{result1} } -func (fake *FakeConfig) B3SpanID() string { - fake.b3SpanIDMutex.Lock() - ret, specificReturn := fake.b3SpanIDReturnsOnCall[len(fake.b3SpanIDArgsForCall)] - fake.b3SpanIDArgsForCall = append(fake.b3SpanIDArgsForCall, struct { - }{}) - stub := fake.B3SpanIDStub - fakeReturns := fake.b3SpanIDReturns - fake.recordInvocation("B3SpanID", []interface{}{}) - fake.b3SpanIDMutex.Unlock() - if stub != nil { - return stub() - } - if specificReturn { - return ret.result1 - } - return fakeReturns.result1 -} - -func (fake *FakeConfig) B3SpanIDCallCount() int { - fake.b3SpanIDMutex.RLock() - defer fake.b3SpanIDMutex.RUnlock() - return len(fake.b3SpanIDArgsForCall) -} - -func (fake *FakeConfig) B3SpanIDCalls(stub func() string) { - fake.b3SpanIDMutex.Lock() - defer fake.b3SpanIDMutex.Unlock() - fake.B3SpanIDStub = stub -} - -func (fake *FakeConfig) B3SpanIDReturns(result1 string) { - fake.b3SpanIDMutex.Lock() - defer fake.b3SpanIDMutex.Unlock() - fake.B3SpanIDStub = nil - fake.b3SpanIDReturns = struct { - result1 string - }{result1} -} - -func (fake *FakeConfig) B3SpanIDReturnsOnCall(i int, result1 string) { - fake.b3SpanIDMutex.Lock() - defer fake.b3SpanIDMutex.Unlock() - fake.B3SpanIDStub = nil - if fake.b3SpanIDReturnsOnCall == nil { - fake.b3SpanIDReturnsOnCall = make(map[int]struct { - result1 string - }) - } - fake.b3SpanIDReturnsOnCall[i] = struct { - result1 string - }{result1} -} - func (fake *FakeConfig) B3TraceID() string { fake.b3TraceIDMutex.Lock() ret, specificReturn := fake.b3TraceIDReturnsOnCall[len(fake.b3TraceIDArgsForCall)] @@ -4144,154 +4081,6 @@ func (fake *FakeConfig) WritePluginConfigReturnsOnCall(i int, result1 error) { func (fake *FakeConfig) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.aPIVersionMutex.RLock() - defer fake.aPIVersionMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.addPluginMutex.RLock() - defer fake.addPluginMutex.RUnlock() - fake.addPluginRepositoryMutex.RLock() - defer fake.addPluginRepositoryMutex.RUnlock() - fake.authorizationEndpointMutex.RLock() - defer fake.authorizationEndpointMutex.RUnlock() - fake.b3SpanIDMutex.RLock() - defer fake.b3SpanIDMutex.RUnlock() - fake.b3TraceIDMutex.RLock() - defer fake.b3TraceIDMutex.RUnlock() - fake.binaryNameMutex.RLock() - defer fake.binaryNameMutex.RUnlock() - fake.binaryVersionMutex.RLock() - defer fake.binaryVersionMutex.RUnlock() - fake.cFPasswordMutex.RLock() - defer fake.cFPasswordMutex.RUnlock() - fake.cFUsernameMutex.RLock() - defer fake.cFUsernameMutex.RUnlock() - fake.cNBCredentialsMutex.RLock() - defer fake.cNBCredentialsMutex.RUnlock() - fake.colorEnabledMutex.RLock() - defer fake.colorEnabledMutex.RUnlock() - fake.currentUserMutex.RLock() - defer fake.currentUserMutex.RUnlock() - fake.currentUserNameMutex.RLock() - defer fake.currentUserNameMutex.RUnlock() - fake.dialTimeoutMutex.RLock() - defer fake.dialTimeoutMutex.RUnlock() - fake.dockerPasswordMutex.RLock() - defer fake.dockerPasswordMutex.RUnlock() - fake.experimentalMutex.RLock() - defer fake.experimentalMutex.RUnlock() - fake.getPluginMutex.RLock() - defer fake.getPluginMutex.RUnlock() - fake.getPluginCaseInsensitiveMutex.RLock() - defer fake.getPluginCaseInsensitiveMutex.RUnlock() - fake.hasTargetedOrganizationMutex.RLock() - defer fake.hasTargetedOrganizationMutex.RUnlock() - fake.hasTargetedSpaceMutex.RLock() - defer fake.hasTargetedSpaceMutex.RUnlock() - fake.isCFOnK8sMutex.RLock() - defer fake.isCFOnK8sMutex.RUnlock() - fake.isTTYMutex.RLock() - defer fake.isTTYMutex.RUnlock() - fake.localeMutex.RLock() - defer fake.localeMutex.RUnlock() - fake.logCacheEndpointMutex.RLock() - defer fake.logCacheEndpointMutex.RUnlock() - fake.minCLIVersionMutex.RLock() - defer fake.minCLIVersionMutex.RUnlock() - fake.nOAARequestRetryCountMutex.RLock() - defer fake.nOAARequestRetryCountMutex.RUnlock() - fake.networkPolicyV1EndpointMutex.RLock() - defer fake.networkPolicyV1EndpointMutex.RUnlock() - fake.overallPollingTimeoutMutex.RLock() - defer fake.overallPollingTimeoutMutex.RUnlock() - fake.pluginHomeMutex.RLock() - defer fake.pluginHomeMutex.RUnlock() - fake.pluginRepositoriesMutex.RLock() - defer fake.pluginRepositoriesMutex.RUnlock() - fake.pluginsMutex.RLock() - defer fake.pluginsMutex.RUnlock() - fake.pollingIntervalMutex.RLock() - defer fake.pollingIntervalMutex.RUnlock() - fake.refreshTokenMutex.RLock() - defer fake.refreshTokenMutex.RUnlock() - fake.removePluginMutex.RLock() - defer fake.removePluginMutex.RUnlock() - fake.requestRetryCountMutex.RLock() - defer fake.requestRetryCountMutex.RUnlock() - fake.routingEndpointMutex.RLock() - defer fake.routingEndpointMutex.RUnlock() - fake.sSHOAuthClientMutex.RLock() - defer fake.sSHOAuthClientMutex.RUnlock() - fake.setAccessTokenMutex.RLock() - defer fake.setAccessTokenMutex.RUnlock() - fake.setAsyncTimeoutMutex.RLock() - defer fake.setAsyncTimeoutMutex.RUnlock() - fake.setColorEnabledMutex.RLock() - defer fake.setColorEnabledMutex.RUnlock() - fake.setKubernetesAuthInfoMutex.RLock() - defer fake.setKubernetesAuthInfoMutex.RUnlock() - fake.setLocaleMutex.RLock() - defer fake.setLocaleMutex.RUnlock() - fake.setMinCLIVersionMutex.RLock() - defer fake.setMinCLIVersionMutex.RUnlock() - fake.setOrganizationInformationMutex.RLock() - defer fake.setOrganizationInformationMutex.RUnlock() - fake.setRefreshTokenMutex.RLock() - defer fake.setRefreshTokenMutex.RUnlock() - fake.setSpaceInformationMutex.RLock() - defer fake.setSpaceInformationMutex.RUnlock() - fake.setTargetInformationMutex.RLock() - defer fake.setTargetInformationMutex.RUnlock() - fake.setTokenInformationMutex.RLock() - defer fake.setTokenInformationMutex.RUnlock() - fake.setTraceMutex.RLock() - defer fake.setTraceMutex.RUnlock() - fake.setUAAClientCredentialsMutex.RLock() - defer fake.setUAAClientCredentialsMutex.RUnlock() - fake.setUAAEndpointMutex.RLock() - defer fake.setUAAEndpointMutex.RUnlock() - fake.setUAAGrantTypeMutex.RLock() - defer fake.setUAAGrantTypeMutex.RUnlock() - fake.skipSSLValidationMutex.RLock() - defer fake.skipSSLValidationMutex.RUnlock() - fake.stagingTimeoutMutex.RLock() - defer fake.stagingTimeoutMutex.RUnlock() - fake.startupTimeoutMutex.RLock() - defer fake.startupTimeoutMutex.RUnlock() - fake.targetMutex.RLock() - defer fake.targetMutex.RUnlock() - fake.targetedOrganizationMutex.RLock() - defer fake.targetedOrganizationMutex.RUnlock() - fake.targetedOrganizationNameMutex.RLock() - defer fake.targetedOrganizationNameMutex.RUnlock() - fake.targetedSpaceMutex.RLock() - defer fake.targetedSpaceMutex.RUnlock() - fake.terminalWidthMutex.RLock() - defer fake.terminalWidthMutex.RUnlock() - fake.uAADisableKeepAlivesMutex.RLock() - defer fake.uAADisableKeepAlivesMutex.RUnlock() - fake.uAAEndpointMutex.RLock() - defer fake.uAAEndpointMutex.RUnlock() - fake.uAAGrantTypeMutex.RLock() - defer fake.uAAGrantTypeMutex.RUnlock() - fake.uAAOAuthClientMutex.RLock() - defer fake.uAAOAuthClientMutex.RUnlock() - fake.uAAOAuthClientSecretMutex.RLock() - defer fake.uAAOAuthClientSecretMutex.RUnlock() - fake.unsetOrganizationAndSpaceInformationMutex.RLock() - defer fake.unsetOrganizationAndSpaceInformationMutex.RUnlock() - fake.unsetSpaceInformationMutex.RLock() - defer fake.unsetSpaceInformationMutex.RUnlock() - fake.unsetUserInformationMutex.RLock() - defer fake.unsetUserInformationMutex.RUnlock() - fake.v7SetSpaceInformationMutex.RLock() - defer fake.v7SetSpaceInformationMutex.RUnlock() - fake.verboseMutex.RLock() - defer fake.verboseMutex.RUnlock() - fake.writeConfigMutex.RLock() - defer fake.writeConfigMutex.RUnlock() - fake.writePluginConfigMutex.RLock() - defer fake.writePluginConfigMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/commandfakes/fake_shared_actor.go b/command/commandfakes/fake_shared_actor.go index b9e36cdf574..b570ce600b3 100644 --- a/command/commandfakes/fake_shared_actor.go +++ b/command/commandfakes/fake_shared_actor.go @@ -414,18 +414,6 @@ func (fake *FakeSharedActor) RequireTargetedOrgReturnsOnCall(i int, result1 stri func (fake *FakeSharedActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.checkTargetMutex.RLock() - defer fake.checkTargetMutex.RUnlock() - fake.isLoggedInMutex.RLock() - defer fake.isLoggedInMutex.RUnlock() - fake.isOrgTargetedMutex.RLock() - defer fake.isOrgTargetedMutex.RUnlock() - fake.isSpaceTargetedMutex.RLock() - defer fake.isSpaceTargetedMutex.RUnlock() - fake.requireCurrentUserMutex.RLock() - defer fake.requireCurrentUserMutex.RUnlock() - fake.requireTargetedOrgMutex.RLock() - defer fake.requireTargetedOrgMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/commandfakes/fake_ui.go b/command/commandfakes/fake_ui.go index a168965e9a5..149a1ca680c 100644 --- a/command/commandfakes/fake_ui.go +++ b/command/commandfakes/fake_ui.go @@ -1957,80 +1957,6 @@ func (fake *FakeUI) WriterReturnsOnCall(i int, result1 io.Writer) { func (fake *FakeUI) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.deferTextMutex.RLock() - defer fake.deferTextMutex.RUnlock() - fake.displayBoolPromptMutex.RLock() - defer fake.displayBoolPromptMutex.RUnlock() - fake.displayChangesForPushMutex.RLock() - defer fake.displayChangesForPushMutex.RUnlock() - fake.displayDeprecationWarningMutex.RLock() - defer fake.displayDeprecationWarningMutex.RUnlock() - fake.displayDiffAdditionMutex.RLock() - defer fake.displayDiffAdditionMutex.RUnlock() - fake.displayDiffRemovalMutex.RLock() - defer fake.displayDiffRemovalMutex.RUnlock() - fake.displayDiffUnchangedMutex.RLock() - defer fake.displayDiffUnchangedMutex.RUnlock() - fake.displayErrorMutex.RLock() - defer fake.displayErrorMutex.RUnlock() - fake.displayFileDeprecationWarningMutex.RLock() - defer fake.displayFileDeprecationWarningMutex.RUnlock() - fake.displayHeaderMutex.RLock() - defer fake.displayHeaderMutex.RUnlock() - fake.displayInstancesTableForAppMutex.RLock() - defer fake.displayInstancesTableForAppMutex.RUnlock() - fake.displayJSONMutex.RLock() - defer fake.displayJSONMutex.RUnlock() - fake.displayKeyValueTableMutex.RLock() - defer fake.displayKeyValueTableMutex.RUnlock() - fake.displayKeyValueTableForAppMutex.RLock() - defer fake.displayKeyValueTableForAppMutex.RUnlock() - fake.displayLogMessageMutex.RLock() - defer fake.displayLogMessageMutex.RUnlock() - fake.displayNewlineMutex.RLock() - defer fake.displayNewlineMutex.RUnlock() - fake.displayNonWrappingTableMutex.RLock() - defer fake.displayNonWrappingTableMutex.RUnlock() - fake.displayOKMutex.RLock() - defer fake.displayOKMutex.RUnlock() - fake.displayOptionalTextPromptMutex.RLock() - defer fake.displayOptionalTextPromptMutex.RUnlock() - fake.displayPasswordPromptMutex.RLock() - defer fake.displayPasswordPromptMutex.RUnlock() - fake.displayTableWithHeaderMutex.RLock() - defer fake.displayTableWithHeaderMutex.RUnlock() - fake.displayTextMutex.RLock() - defer fake.displayTextMutex.RUnlock() - fake.displayTextLiteralMutex.RLock() - defer fake.displayTextLiteralMutex.RUnlock() - fake.displayTextMenuMutex.RLock() - defer fake.displayTextMenuMutex.RUnlock() - fake.displayTextPromptMutex.RLock() - defer fake.displayTextPromptMutex.RUnlock() - fake.displayTextWithBoldMutex.RLock() - defer fake.displayTextWithBoldMutex.RUnlock() - fake.displayTextWithFlavorMutex.RLock() - defer fake.displayTextWithFlavorMutex.RUnlock() - fake.displayWarningMutex.RLock() - defer fake.displayWarningMutex.RUnlock() - fake.displayWarningsMutex.RLock() - defer fake.displayWarningsMutex.RUnlock() - fake.getErrMutex.RLock() - defer fake.getErrMutex.RUnlock() - fake.getInMutex.RLock() - defer fake.getInMutex.RUnlock() - fake.getOutMutex.RLock() - defer fake.getOutMutex.RUnlock() - fake.requestLoggerFileWriterMutex.RLock() - defer fake.requestLoggerFileWriterMutex.RUnlock() - fake.requestLoggerTerminalDisplayMutex.RLock() - defer fake.requestLoggerTerminalDisplayMutex.RUnlock() - fake.translateTextMutex.RLock() - defer fake.translateTextMutex.RUnlock() - fake.userFriendlyDateMutex.RLock() - defer fake.userFriendlyDateMutex.RUnlock() - fake.writerMutex.RLock() - defer fake.writerMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/common/commonfakes/fake_help_actor.go b/command/common/commonfakes/fake_help_actor.go index 8432abeeab9..b15a7532f6b 100644 --- a/command/common/commonfakes/fake_help_actor.go +++ b/command/common/commonfakes/fake_help_actor.go @@ -167,10 +167,6 @@ func (fake *FakeHelpActor) CommandInfosReturnsOnCall(i int, result1 map[string]s func (fake *FakeHelpActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.commandInfoByNameMutex.RLock() - defer fake.commandInfoByNameMutex.RUnlock() - fake.commandInfosMutex.RLock() - defer fake.commandInfosMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/common/commonfakes/fake_install_plugin_actor.go b/command/common/commonfakes/fake_install_plugin_actor.go index 4877908b2e3..5165f184bda 100644 --- a/command/common/commonfakes/fake_install_plugin_actor.go +++ b/command/common/commonfakes/fake_install_plugin_actor.go @@ -795,26 +795,6 @@ func (fake *FakeInstallPluginActor) ValidateFileChecksumReturnsOnCall(i int, res func (fake *FakeInstallPluginActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.createExecutableCopyMutex.RLock() - defer fake.createExecutableCopyMutex.RUnlock() - fake.downloadExecutableBinaryFromURLMutex.RLock() - defer fake.downloadExecutableBinaryFromURLMutex.RUnlock() - fake.fileExistsMutex.RLock() - defer fake.fileExistsMutex.RUnlock() - fake.getAndValidatePluginMutex.RLock() - defer fake.getAndValidatePluginMutex.RUnlock() - fake.getPlatformStringMutex.RLock() - defer fake.getPlatformStringMutex.RUnlock() - fake.getPluginInfoFromRepositoriesForPlatformMutex.RLock() - defer fake.getPluginInfoFromRepositoriesForPlatformMutex.RUnlock() - fake.getPluginRepositoryMutex.RLock() - defer fake.getPluginRepositoryMutex.RUnlock() - fake.installPluginFromPathMutex.RLock() - defer fake.installPluginFromPathMutex.RUnlock() - fake.uninstallPluginMutex.RLock() - defer fake.uninstallPluginMutex.RUnlock() - fake.validateFileChecksumMutex.RLock() - defer fake.validateFileChecksumMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/plugin/pluginfakes/fake_add_plugin_repo_actor.go b/command/plugin/pluginfakes/fake_add_plugin_repo_actor.go index acad05c8fa8..1886190b48d 100644 --- a/command/plugin/pluginfakes/fake_add_plugin_repo_actor.go +++ b/command/plugin/pluginfakes/fake_add_plugin_repo_actor.go @@ -89,8 +89,6 @@ func (fake *FakeAddPluginRepoActor) AddPluginRepositoryReturnsOnCall(i int, resu func (fake *FakeAddPluginRepoActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.addPluginRepositoryMutex.RLock() - defer fake.addPluginRepositoryMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/plugin/pluginfakes/fake_plugins_actor.go b/command/plugin/pluginfakes/fake_plugins_actor.go index 16cb741a26e..1dd4403a533 100644 --- a/command/plugin/pluginfakes/fake_plugins_actor.go +++ b/command/plugin/pluginfakes/fake_plugins_actor.go @@ -84,8 +84,6 @@ func (fake *FakePluginsActor) GetOutdatedPluginsReturnsOnCall(i int, result1 []p func (fake *FakePluginsActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getOutdatedPluginsMutex.RLock() - defer fake.getOutdatedPluginsMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/plugin/pluginfakes/fake_uninstall_plugin_actor.go b/command/plugin/pluginfakes/fake_uninstall_plugin_actor.go index 3442264e266..c8413eebbb9 100644 --- a/command/plugin/pluginfakes/fake_uninstall_plugin_actor.go +++ b/command/plugin/pluginfakes/fake_uninstall_plugin_actor.go @@ -90,8 +90,6 @@ func (fake *FakeUninstallPluginActor) UninstallPluginReturnsOnCall(i int, result func (fake *FakeUninstallPluginActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.uninstallPluginMutex.RLock() - defer fake.uninstallPluginMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/translatableerror/translatableerrorfakes/fake_translatable_error.go b/command/translatableerror/translatableerrorfakes/fake_translatable_error.go index a8465852e8f..c9dad42397f 100644 --- a/command/translatableerror/translatableerrorfakes/fake_translatable_error.go +++ b/command/translatableerror/translatableerrorfakes/fake_translatable_error.go @@ -150,10 +150,6 @@ func (fake *FakeTranslatableError) TranslateReturnsOnCall(i int, result1 string) func (fake *FakeTranslatableError) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.errorMutex.RLock() - defer fake.errorMutex.RUnlock() - fake.translateMutex.RLock() - defer fake.translateMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/shared/sharedfakes/fake_app_stager.go b/command/v7/shared/sharedfakes/fake_app_stager.go index 09bb3654f5a..9e9e9f2e749 100644 --- a/command/v7/shared/sharedfakes/fake_app_stager.go +++ b/command/v7/shared/sharedfakes/fake_app_stager.go @@ -258,12 +258,6 @@ func (fake *FakeAppStager) StartAppReturnsOnCall(i int, result1 error) { func (fake *FakeAppStager) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.stageAndStartMutex.RLock() - defer fake.stageAndStartMutex.RUnlock() - fake.stageAppMutex.RLock() - defer fake.stageAppMutex.RUnlock() - fake.startAppMutex.RLock() - defer fake.startAppMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_actor_reloader.go b/command/v7/v7fakes/fake_actor_reloader.go index 87876729587..2fd49dc658f 100644 --- a/command/v7/v7fakes/fake_actor_reloader.go +++ b/command/v7/v7fakes/fake_actor_reloader.go @@ -95,8 +95,6 @@ func (fake *FakeActorReloader) ReloadReturnsOnCall(i int, result1 v7.Actor, resu func (fake *FakeActorReloader) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.reloadMutex.RLock() - defer fake.reloadMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_diff_displayer.go b/command/v7/v7fakes/fake_diff_displayer.go index 8287b97c16d..9117049608a 100644 --- a/command/v7/v7fakes/fake_diff_displayer.go +++ b/command/v7/v7fakes/fake_diff_displayer.go @@ -95,8 +95,6 @@ func (fake *FakeDiffDisplayer) DisplayDiffReturnsOnCall(i int, result1 error) { func (fake *FakeDiffDisplayer) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.displayDiffMutex.RLock() - defer fake.displayDiffMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_label_setter.go b/command/v7/v7fakes/fake_label_setter.go index 36443f1b9bb..0acdb5434c5 100644 --- a/command/v7/v7fakes/fake_label_setter.go +++ b/command/v7/v7fakes/fake_label_setter.go @@ -90,8 +90,6 @@ func (fake *FakeLabelSetter) ExecuteReturnsOnCall(i int, result1 error) { func (fake *FakeLabelSetter) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.executeMutex.RLock() - defer fake.executeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_label_unsetter.go b/command/v7/v7fakes/fake_label_unsetter.go index 48ec32fe771..554424cb19a 100644 --- a/command/v7/v7fakes/fake_label_unsetter.go +++ b/command/v7/v7fakes/fake_label_unsetter.go @@ -90,8 +90,6 @@ func (fake *FakeLabelUnsetter) ExecuteReturnsOnCall(i int, result1 error) { func (fake *FakeLabelUnsetter) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.executeMutex.RLock() - defer fake.executeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_manifest_locator.go b/command/v7/v7fakes/fake_manifest_locator.go index 0e41343c30c..592132dfe0e 100644 --- a/command/v7/v7fakes/fake_manifest_locator.go +++ b/command/v7/v7fakes/fake_manifest_locator.go @@ -97,8 +97,6 @@ func (fake *FakeManifestLocator) PathReturnsOnCall(i int, result1 string, result func (fake *FakeManifestLocator) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.pathMutex.RLock() - defer fake.pathMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_manifest_parser.go b/command/v7/v7fakes/fake_manifest_parser.go index dff85521ea8..d571390ed17 100644 --- a/command/v7/v7fakes/fake_manifest_parser.go +++ b/command/v7/v7fakes/fake_manifest_parser.go @@ -269,12 +269,6 @@ func (fake *FakeManifestParser) ParseManifestReturnsOnCall(i int, result1 manife func (fake *FakeManifestParser) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.interpolateManifestMutex.RLock() - defer fake.interpolateManifestMutex.RUnlock() - fake.marshalManifestMutex.RLock() - defer fake.marshalManifestMutex.RUnlock() - fake.parseManifestMutex.RLock() - defer fake.parseManifestMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_network_policies_actor.go b/command/v7/v7fakes/fake_network_policies_actor.go index 8bcdf225bd5..91ee1014c2e 100644 --- a/command/v7/v7fakes/fake_network_policies_actor.go +++ b/command/v7/v7fakes/fake_network_policies_actor.go @@ -182,10 +182,6 @@ func (fake *FakeNetworkPoliciesActor) NetworkPoliciesBySpaceAndAppNameReturnsOnC func (fake *FakeNetworkPoliciesActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.networkPoliciesBySpaceMutex.RLock() - defer fake.networkPoliciesBySpaceMutex.RUnlock() - fake.networkPoliciesBySpaceAndAppNameMutex.RLock() - defer fake.networkPoliciesBySpaceAndAppNameMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_networking_actor.go b/command/v7/v7fakes/fake_networking_actor.go index 1ca88ae4370..7fb0f93c709 100644 --- a/command/v7/v7fakes/fake_networking_actor.go +++ b/command/v7/v7fakes/fake_networking_actor.go @@ -105,8 +105,6 @@ func (fake *FakeNetworkingActor) AddNetworkPolicyReturnsOnCall(i int, result1 cf func (fake *FakeNetworkingActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.addNetworkPolicyMutex.RLock() - defer fake.addNetworkPolicyMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_progress_bar.go b/command/v7/v7fakes/fake_progress_bar.go index 53118843760..6a6c8a7b163 100644 --- a/command/v7/v7fakes/fake_progress_bar.go +++ b/command/v7/v7fakes/fake_progress_bar.go @@ -146,12 +146,6 @@ func (fake *FakeProgressBar) ReadyCalls(stub func()) { func (fake *FakeProgressBar) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.completeMutex.RLock() - defer fake.completeMutex.RUnlock() - fake.newProgressBarWrapperMutex.RLock() - defer fake.newProgressBarWrapperMutex.RUnlock() - fake.readyMutex.RLock() - defer fake.readyMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_push_actor.go b/command/v7/v7fakes/fake_push_actor.go index 74c6db82946..8517b124f1b 100644 --- a/command/v7/v7fakes/fake_push_actor.go +++ b/command/v7/v7fakes/fake_push_actor.go @@ -338,14 +338,6 @@ func (fake *FakePushActor) HandleFlagOverridesReturnsOnCall(i int, result1 manif func (fake *FakePushActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.actualizeMutex.RLock() - defer fake.actualizeMutex.RUnlock() - fake.createPushPlansMutex.RLock() - defer fake.createPushPlansMutex.RUnlock() - fake.handleDeploymentScaleFlagOverridesMutex.RLock() - defer fake.handleDeploymentScaleFlagOverridesMutex.RUnlock() - fake.handleFlagOverridesMutex.RLock() - defer fake.handleFlagOverridesMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_remove_network_policy_actor.go b/command/v7/v7fakes/fake_remove_network_policy_actor.go index 9c3a4d61aa8..390bf258738 100644 --- a/command/v7/v7fakes/fake_remove_network_policy_actor.go +++ b/command/v7/v7fakes/fake_remove_network_policy_actor.go @@ -105,8 +105,6 @@ func (fake *FakeRemoveNetworkPolicyActor) RemoveNetworkPolicyReturnsOnCall(i int func (fake *FakeRemoveNetworkPolicyActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.removeNetworkPolicyMutex.RLock() - defer fake.removeNetworkPolicyMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_revisions_actor.go b/command/v7/v7fakes/fake_revisions_actor.go index e126f4ea24b..50186a8febd 100644 --- a/command/v7/v7fakes/fake_revisions_actor.go +++ b/command/v7/v7fakes/fake_revisions_actor.go @@ -101,8 +101,6 @@ func (fake *FakeRevisionsActor) GetRevisionsByApplicationNameAndSpaceReturnsOnCa func (fake *FakeRevisionsActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getRevisionsByApplicationNameAndSpaceMutex.RLock() - defer fake.getRevisionsByApplicationNameAndSpaceMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_set_label_actor.go b/command/v7/v7fakes/fake_set_label_actor.go index 5cbb7852e91..113aa2be611 100644 --- a/command/v7/v7fakes/fake_set_label_actor.go +++ b/command/v7/v7fakes/fake_set_label_actor.go @@ -318,16 +318,16 @@ func (fake *FakeSetLabelActor) UpdateBuildpackLabelsByBuildpackNameAndStackAndLi fake.updateBuildpackLabelsByBuildpackNameAndStackAndLifecycleArgsForCall = append(fake.updateBuildpackLabelsByBuildpackNameAndStackAndLifecycleArgsForCall, struct { arg1 string arg2 string - arg3 string - arg4 map[string]types.NullString - }{arg1, arg2, arg3, arg4}) - stub := fake.UpdateBuildpackLabelsByBuildpackNameAndStackAndLifecycleStub - fakeReturns := fake.updateBuildpackLabelsByBuildpackNameAndStackAndLifecycleReturns - fake.recordInvocation("UpdateBuildpackLabelsByBuildpackNameAndStackAndLifecycle", []interface{}{arg1, arg2, arg3, arg4}) - fake.updateBuildpackLabelsByBuildpackNameAndStackAndLifecycleMutex.Unlock() - if stub != nil { - return stub(arg1, arg2, arg3, arg4) - } + arg3 string + arg4 map[string]types.NullString + }{arg1, arg2, arg3, arg4}) + stub := fake.UpdateBuildpackLabelsByBuildpackNameAndStackAndLifecycleStub + fakeReturns := fake.updateBuildpackLabelsByBuildpackNameAndStackAndLifecycleReturns + fake.recordInvocation("UpdateBuildpackLabelsByBuildpackNameAndStackAndLifecycle", []interface{}{arg1, arg2, arg3, arg4}) + fake.updateBuildpackLabelsByBuildpackNameAndStackAndLifecycleMutex.Unlock() + if stub != nil { + return stub(arg1, arg2, arg3, arg4) + } if specificReturn { return ret.result1, ret.result2 } @@ -973,30 +973,6 @@ func (fake *FakeSetLabelActor) UpdateStackLabelsByStackNameReturnsOnCall(i int, func (fake *FakeSetLabelActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getCurrentUserMutex.RLock() - defer fake.getCurrentUserMutex.RUnlock() - fake.updateApplicationLabelsByApplicationNameMutex.RLock() - defer fake.updateApplicationLabelsByApplicationNameMutex.RUnlock() - fake.updateBuildpackLabelsByBuildpackNameAndStackAndLifecycleMutex.RLock() - defer fake.updateBuildpackLabelsByBuildpackNameAndStackAndLifecycleMutex.RUnlock() - fake.updateDomainLabelsByDomainNameMutex.RLock() - defer fake.updateDomainLabelsByDomainNameMutex.RUnlock() - fake.updateOrganizationLabelsByOrganizationNameMutex.RLock() - defer fake.updateOrganizationLabelsByOrganizationNameMutex.RUnlock() - fake.updateRouteLabelsMutex.RLock() - defer fake.updateRouteLabelsMutex.RUnlock() - fake.updateServiceBrokerLabelsByServiceBrokerNameMutex.RLock() - defer fake.updateServiceBrokerLabelsByServiceBrokerNameMutex.RUnlock() - fake.updateServiceInstanceLabelsMutex.RLock() - defer fake.updateServiceInstanceLabelsMutex.RUnlock() - fake.updateServiceOfferingLabelsMutex.RLock() - defer fake.updateServiceOfferingLabelsMutex.RUnlock() - fake.updateServicePlanLabelsMutex.RLock() - defer fake.updateServicePlanLabelsMutex.RUnlock() - fake.updateSpaceLabelsBySpaceNameMutex.RLock() - defer fake.updateSpaceLabelsBySpaceNameMutex.RUnlock() - fake.updateStackLabelsByStackNameMutex.RLock() - defer fake.updateStackLabelsByStackNameMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_shared_sshactor.go b/command/v7/v7fakes/fake_shared_sshactor.go index a7756d048bc..b30b6111543 100644 --- a/command/v7/v7fakes/fake_shared_sshactor.go +++ b/command/v7/v7fakes/fake_shared_sshactor.go @@ -90,8 +90,6 @@ func (fake *FakeSharedSSHActor) ExecuteSecureShellReturnsOnCall(i int, result1 e func (fake *FakeSharedSSHActor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.executeSecureShellMutex.RLock() - defer fake.executeSecureShellMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/command/v7/v7fakes/fake_v7actor_for_push.go b/command/v7/v7fakes/fake_v7actor_for_push.go index 22407358123..0341fb15432 100644 --- a/command/v7/v7fakes/fake_v7actor_for_push.go +++ b/command/v7/v7fakes/fake_v7actor_for_push.go @@ -448,16 +448,6 @@ func (fake *FakeV7ActorForPush) SetSpaceManifestReturnsOnCall(i int, result1 v7a func (fake *FakeV7ActorForPush) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getApplicationByNameAndSpaceMutex.RLock() - defer fake.getApplicationByNameAndSpaceMutex.RUnlock() - fake.getDetailedAppSummaryMutex.RLock() - defer fake.getDetailedAppSummaryMutex.RUnlock() - fake.getStreamingLogsForApplicationByNameAndSpaceMutex.RLock() - defer fake.getStreamingLogsForApplicationByNameAndSpaceMutex.RUnlock() - fake.restartApplicationMutex.RLock() - defer fake.restartApplicationMutex.RUnlock() - fake.setSpaceManifestMutex.RLock() - defer fake.setSpaceManifestMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/plugin/pluginfakes/fake_cli_connection.go b/plugin/pluginfakes/fake_cli_connection.go index dc1c9c5e95b..cd83f75acad 100644 --- a/plugin/pluginfakes/fake_cli_connection.go +++ b/plugin/pluginfakes/fake_cli_connection.go @@ -1928,60 +1928,6 @@ func (fake *FakeCliConnection) UsernameReturnsOnCall(i int, result1 string, resu func (fake *FakeCliConnection) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.accessTokenMutex.RLock() - defer fake.accessTokenMutex.RUnlock() - fake.apiEndpointMutex.RLock() - defer fake.apiEndpointMutex.RUnlock() - fake.apiVersionMutex.RLock() - defer fake.apiVersionMutex.RUnlock() - fake.cliCommandMutex.RLock() - defer fake.cliCommandMutex.RUnlock() - fake.cliCommandWithoutTerminalOutputMutex.RLock() - defer fake.cliCommandWithoutTerminalOutputMutex.RUnlock() - fake.dopplerEndpointMutex.RLock() - defer fake.dopplerEndpointMutex.RUnlock() - fake.getAppMutex.RLock() - defer fake.getAppMutex.RUnlock() - fake.getAppsMutex.RLock() - defer fake.getAppsMutex.RUnlock() - fake.getCurrentOrgMutex.RLock() - defer fake.getCurrentOrgMutex.RUnlock() - fake.getCurrentSpaceMutex.RLock() - defer fake.getCurrentSpaceMutex.RUnlock() - fake.getOrgMutex.RLock() - defer fake.getOrgMutex.RUnlock() - fake.getOrgUsersMutex.RLock() - defer fake.getOrgUsersMutex.RUnlock() - fake.getOrgsMutex.RLock() - defer fake.getOrgsMutex.RUnlock() - fake.getServiceMutex.RLock() - defer fake.getServiceMutex.RUnlock() - fake.getServicesMutex.RLock() - defer fake.getServicesMutex.RUnlock() - fake.getSpaceMutex.RLock() - defer fake.getSpaceMutex.RUnlock() - fake.getSpaceUsersMutex.RLock() - defer fake.getSpaceUsersMutex.RUnlock() - fake.getSpacesMutex.RLock() - defer fake.getSpacesMutex.RUnlock() - fake.hasAPIEndpointMutex.RLock() - defer fake.hasAPIEndpointMutex.RUnlock() - fake.hasOrganizationMutex.RLock() - defer fake.hasOrganizationMutex.RUnlock() - fake.hasSpaceMutex.RLock() - defer fake.hasSpaceMutex.RUnlock() - fake.isLoggedInMutex.RLock() - defer fake.isLoggedInMutex.RUnlock() - fake.isSSLDisabledMutex.RLock() - defer fake.isSSLDisabledMutex.RUnlock() - fake.loggregatorEndpointMutex.RLock() - defer fake.loggregatorEndpointMutex.RUnlock() - fake.userEmailMutex.RLock() - defer fake.userEmailMutex.RUnlock() - fake.userGuidMutex.RLock() - defer fake.userGuidMutex.RUnlock() - fake.usernameMutex.RLock() - defer fake.usernameMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/plugin/rpc/rpcfakes/fake_command_runner.go b/plugin/rpc/rpcfakes/fake_command_runner.go index 5994dc6bb77..0236c84e5a0 100644 --- a/plugin/rpc/rpcfakes/fake_command_runner.go +++ b/plugin/rpc/rpcfakes/fake_command_runner.go @@ -97,8 +97,6 @@ func (fake *FakeCommandRunner) CommandReturnsOnCall(i int, result1 error) { func (fake *FakeCommandRunner) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.commandMutex.RLock() - defer fake.commandMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/plugin/rpc/rpcfakes/fake_output_capture.go b/plugin/rpc/rpcfakes/fake_output_capture.go index 47054488f1c..43c91d0ce7c 100644 --- a/plugin/rpc/rpcfakes/fake_output_capture.go +++ b/plugin/rpc/rpcfakes/fake_output_capture.go @@ -53,8 +53,6 @@ func (fake *FakeOutputCapture) SetOutputBucketArgsForCall(i int) io.Writer { func (fake *FakeOutputCapture) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.setOutputBucketMutex.RLock() - defer fake.setOutputBucketMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/plugin/rpc/rpcfakes/fake_terminal_output_switch.go b/plugin/rpc/rpcfakes/fake_terminal_output_switch.go index 6eebe57cc6b..489422e443f 100644 --- a/plugin/rpc/rpcfakes/fake_terminal_output_switch.go +++ b/plugin/rpc/rpcfakes/fake_terminal_output_switch.go @@ -52,8 +52,6 @@ func (fake *FakeTerminalOutputSwitch) DisableTerminalOutputArgsForCall(i int) bo func (fake *FakeTerminalOutputSwitch) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.disableTerminalOutputMutex.RLock() - defer fake.disableTerminalOutputMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/clissh/clisshfakes/fake_listener_factory.go b/util/clissh/clisshfakes/fake_listener_factory.go index c61db5cdee0..f0987419d8f 100644 --- a/util/clissh/clisshfakes/fake_listener_factory.go +++ b/util/clissh/clisshfakes/fake_listener_factory.go @@ -95,8 +95,6 @@ func (fake *FakeListenerFactory) ListenReturnsOnCall(i int, result1 net.Listener func (fake *FakeListenerFactory) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.listenMutex.RLock() - defer fake.listenMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/clissh/clisshfakes/fake_secure_client.go b/util/clissh/clisshfakes/fake_secure_client.go index 63e2d5ba55c..3243c464261 100644 --- a/util/clissh/clisshfakes/fake_secure_client.go +++ b/util/clissh/clisshfakes/fake_secure_client.go @@ -353,16 +353,6 @@ func (fake *FakeSecureClient) WaitReturnsOnCall(i int, result1 error) { func (fake *FakeSecureClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.closeMutex.RLock() - defer fake.closeMutex.RUnlock() - fake.connMutex.RLock() - defer fake.connMutex.RUnlock() - fake.dialMutex.RLock() - defer fake.dialMutex.RUnlock() - fake.newSessionMutex.RLock() - defer fake.newSessionMutex.RUnlock() - fake.waitMutex.RLock() - defer fake.waitMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/clissh/clisshfakes/fake_secure_dialer.go b/util/clissh/clisshfakes/fake_secure_dialer.go index 91db8d91329..78d652c0870 100644 --- a/util/clissh/clisshfakes/fake_secure_dialer.go +++ b/util/clissh/clisshfakes/fake_secure_dialer.go @@ -97,8 +97,6 @@ func (fake *FakeSecureDialer) DialReturnsOnCall(i int, result1 clissh.SecureClie func (fake *FakeSecureDialer) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.dialMutex.RLock() - defer fake.dialMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/clissh/clisshfakes/fake_secure_session.go b/util/clissh/clisshfakes/fake_secure_session.go index 5b0145a8297..7508c18d29d 100644 --- a/util/clissh/clisshfakes/fake_secure_session.go +++ b/util/clissh/clisshfakes/fake_secure_session.go @@ -646,24 +646,6 @@ func (fake *FakeSecureSession) WaitReturnsOnCall(i int, result1 error) { func (fake *FakeSecureSession) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.closeMutex.RLock() - defer fake.closeMutex.RUnlock() - fake.requestPtyMutex.RLock() - defer fake.requestPtyMutex.RUnlock() - fake.sendRequestMutex.RLock() - defer fake.sendRequestMutex.RUnlock() - fake.shellMutex.RLock() - defer fake.shellMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() - fake.stderrPipeMutex.RLock() - defer fake.stderrPipeMutex.RUnlock() - fake.stdinPipeMutex.RLock() - defer fake.stdinPipeMutex.RUnlock() - fake.stdoutPipeMutex.RLock() - defer fake.stdoutPipeMutex.RUnlock() - fake.waitMutex.RLock() - defer fake.waitMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/clissh/clisshfakes/fake_terminal_helper.go b/util/clissh/clisshfakes/fake_terminal_helper.go index 42e8955f013..d618c5d5b1f 100644 --- a/util/clissh/clisshfakes/fake_terminal_helper.go +++ b/util/clissh/clisshfakes/fake_terminal_helper.go @@ -395,16 +395,6 @@ func (fake *FakeTerminalHelper) StdStreamsReturnsOnCall(i int, result1 io.ReadCl func (fake *FakeTerminalHelper) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getFdInfoMutex.RLock() - defer fake.getFdInfoMutex.RUnlock() - fake.getWinsizeMutex.RLock() - defer fake.getWinsizeMutex.RUnlock() - fake.restoreTerminalMutex.RLock() - defer fake.restoreTerminalMutex.RUnlock() - fake.setRawTerminalMutex.RLock() - defer fake.setRawTerminalMutex.RUnlock() - fake.stdStreamsMutex.RLock() - defer fake.stdStreamsMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/configv3/configv3fakes/fake_user_config.go b/util/configv3/configv3fakes/fake_user_config.go index a67343add6c..155ca841255 100644 --- a/util/configv3/configv3fakes/fake_user_config.go +++ b/util/configv3/configv3fakes/fake_user_config.go @@ -151,10 +151,6 @@ func (fake *FakeUserConfig) CurrentUserNameReturnsOnCall(i int, result1 string, func (fake *FakeUserConfig) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.currentUserMutex.RLock() - defer fake.currentUserMutex.RUnlock() - fake.currentUserNameMutex.RLock() - defer fake.currentUserNameMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/download/downloadfakes/fake_httpclient.go b/util/download/downloadfakes/fake_httpclient.go index 6fa4f6c07fd..ff0e505b7f8 100644 --- a/util/download/downloadfakes/fake_httpclient.go +++ b/util/download/downloadfakes/fake_httpclient.go @@ -93,8 +93,6 @@ func (fake *FakeHTTPClient) GetReturnsOnCall(i int, result1 *http.Response, resu func (fake *FakeHTTPClient) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.getMutex.RLock() - defer fake.getMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/download/downloadfakes/fake_progress_bar.go b/util/download/downloadfakes/fake_progress_bar.go index 85b7913565a..a9c70469c2a 100644 --- a/util/download/downloadfakes/fake_progress_bar.go +++ b/util/download/downloadfakes/fake_progress_bar.go @@ -252,14 +252,6 @@ func (fake *FakeProgressBar) StartReturnsOnCall(i int, result1 *pb.ProgressBar) func (fake *FakeProgressBar) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.finishMutex.RLock() - defer fake.finishMutex.RUnlock() - fake.newProxyReaderMutex.RLock() - defer fake.newProxyReaderMutex.RUnlock() - fake.setTotalMutex.RLock() - defer fake.setTotalMutex.RUnlock() - fake.startMutex.RLock() - defer fake.startMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/ui/uifakes/fake_config.go b/util/ui/uifakes/fake_config.go index 5a5b5e01420..0a354cb6e7a 100644 --- a/util/ui/uifakes/fake_config.go +++ b/util/ui/uifakes/fake_config.go @@ -268,14 +268,6 @@ func (fake *FakeConfig) TerminalWidthReturnsOnCall(i int, result1 int) { func (fake *FakeConfig) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.colorEnabledMutex.RLock() - defer fake.colorEnabledMutex.RUnlock() - fake.isTTYMutex.RLock() - defer fake.isTTYMutex.RUnlock() - fake.localeMutex.RLock() - defer fake.localeMutex.RUnlock() - fake.terminalWidthMutex.RLock() - defer fake.terminalWidthMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/ui/uifakes/fake_exiter.go b/util/ui/uifakes/fake_exiter.go index 36270067455..55281d6a4ec 100644 --- a/util/ui/uifakes/fake_exiter.go +++ b/util/ui/uifakes/fake_exiter.go @@ -52,8 +52,6 @@ func (fake *FakeExiter) ExitArgsForCall(i int) int { func (fake *FakeExiter) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.exitMutex.RLock() - defer fake.exitMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/ui/uifakes/fake_interactor.go b/util/ui/uifakes/fake_interactor.go index 79aa3520917..fdf0f5cefb4 100644 --- a/util/ui/uifakes/fake_interactor.go +++ b/util/ui/uifakes/fake_interactor.go @@ -90,8 +90,6 @@ func (fake *FakeInteractor) NewInteractionReturnsOnCall(i int, result1 ui.Resolv func (fake *FakeInteractor) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.newInteractionMutex.RLock() - defer fake.newInteractionMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/ui/uifakes/fake_log_message.go b/util/ui/uifakes/fake_log_message.go index b502a318641..97adb926bb8 100644 --- a/util/ui/uifakes/fake_log_message.go +++ b/util/ui/uifakes/fake_log_message.go @@ -331,16 +331,6 @@ func (fake *FakeLogMessage) TypeReturnsOnCall(i int, result1 string) { func (fake *FakeLogMessage) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.messageMutex.RLock() - defer fake.messageMutex.RUnlock() - fake.sourceInstanceMutex.RLock() - defer fake.sourceInstanceMutex.RUnlock() - fake.sourceTypeMutex.RLock() - defer fake.sourceTypeMutex.RUnlock() - fake.timestampMutex.RLock() - defer fake.timestampMutex.RUnlock() - fake.typeMutex.RLock() - defer fake.typeMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/ui/uifakes/fake_resolver.go b/util/ui/uifakes/fake_resolver.go index 02c2c43c582..68e86b2a425 100644 --- a/util/ui/uifakes/fake_resolver.go +++ b/util/ui/uifakes/fake_resolver.go @@ -162,12 +162,6 @@ func (fake *FakeResolver) SetOutArgsForCall(i int) io.Writer { func (fake *FakeResolver) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.resolveMutex.RLock() - defer fake.resolveMutex.RUnlock() - fake.setInMutex.RLock() - defer fake.setInMutex.RUnlock() - fake.setOutMutex.RLock() - defer fake.setOutMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value diff --git a/util/utilfakes/fake_sha1checksum.go b/util/utilfakes/fake_sha1checksum.go index fe54d1289ef..a227cb81792 100644 --- a/util/utilfakes/fake_sha1checksum.go +++ b/util/utilfakes/fake_sha1checksum.go @@ -192,12 +192,6 @@ func (fake *FakeSha1Checksum) SetFilePathArgsForCall(i int) string { func (fake *FakeSha1Checksum) Invocations() map[string][][]interface{} { fake.invocationsMutex.RLock() defer fake.invocationsMutex.RUnlock() - fake.checkSha1Mutex.RLock() - defer fake.checkSha1Mutex.RUnlock() - fake.computeFileSha1Mutex.RLock() - defer fake.computeFileSha1Mutex.RUnlock() - fake.setFilePathMutex.RLock() - defer fake.setFilePathMutex.RUnlock() copiedInvocations := map[string][][]interface{}{} for key, value := range fake.invocations { copiedInvocations[key] = value