From e67dfffa82e456b09a91423289d4ec27a6363c17 Mon Sep 17 00:00:00 2001 From: Thy Ton Date: Mon, 3 Apr 2023 15:17:06 -0700 Subject: [PATCH] chore: revert unneeded changes --- vault/auth.go | 1 - vault/external_tests/plugin/external_plugin_test.go | 1 - 2 files changed, 2 deletions(-) diff --git a/vault/auth.go b/vault/auth.go index 214c316217c5..ee590bc22684 100644 --- a/vault/auth.go +++ b/vault/auth.go @@ -196,7 +196,6 @@ func (c *Core) enableCredentialInternal(ctx context.Context, entry *MountEntry, entry.RunningVersion = versions.GetBuiltinVersion(consts.PluginTypeCredential, entry.Type) } } - addPathCheckers(c, entry, backend, viewPath) // If the mount is filtered or we are on a DR secondary we don't want to diff --git a/vault/external_tests/plugin/external_plugin_test.go b/vault/external_tests/plugin/external_plugin_test.go index f7c2f4701b03..f7a81f256546 100644 --- a/vault/external_tests/plugin/external_plugin_test.go +++ b/vault/external_tests/plugin/external_plugin_test.go @@ -125,7 +125,6 @@ func TestExternalPlugin_RollbackAndReload(t *testing.T) { } func testRegisterAndEnable(t *testing.T, client *api.Client, plugin pluginhelpers.TestPlugin) { - fmt.Println("thy", plugin.Version) t.Helper() if err := client.Sys().RegisterPlugin(&api.RegisterPluginInput{ Name: plugin.Name,