-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add code that would break ent if merged prior to stubmaker (#21634)
- Loading branch information
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// 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() | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// 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 } |