From 173bc4869e299f82447c247bde28866ab66b9ea4 Mon Sep 17 00:00:00 2001 From: Nick Cabatoff Date: Fri, 7 Jul 2023 15:43:39 -0400 Subject: [PATCH] Revert "Add code that would break ent if merged prior to stubmaker (#21634)" This reverts commit 502c2830c0575fe2ada36ef72cb16f61546bb660. --- vault/test_stubmaker.go | 13 ------------- vault/test_stubmaker_oss.go | 16 ---------------- 2 files changed, 29 deletions(-) delete mode 100644 vault/test_stubmaker.go delete mode 100644 vault/test_stubmaker_oss.go diff --git a/vault/test_stubmaker.go b/vault/test_stubmaker.go deleted file mode 100644 index becec1d18b99..000000000000 --- a/vault/test_stubmaker.go +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -package vault - -import ( - "github.com/hashicorp/vault/vault/cluster" -) - -func test() { - testStubmaker(cluster.Listener{}) - testStubmaker2() -} diff --git a/vault/test_stubmaker_oss.go b/vault/test_stubmaker_oss.go deleted file mode 100644 index 8d3593f725b8..000000000000 --- a/vault/test_stubmaker_oss.go +++ /dev/null @@ -1,16 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: MPL-2.0 - -//go:build !enterprise - -package vault - -import ( - "github.com/hashicorp/vault/vault/cluster" - "github.com/hashicorp/vault/vault/seal" -) - -//go:generate go run github.com/hashicorp/vault/tools/stubmaker - -func testStubmaker(_ cluster.Listener) {} -func testStubmaker2() *seal.Envelope { return nil }