From 5ba42030cc19d8a4773185d22d09475aff9cb107 Mon Sep 17 00:00:00 2001 From: divyaac Date: Fri, 3 Jan 2025 14:26:29 -0800 Subject: [PATCH] Revert "Added Stubs to stop breakage of Ent (#28772)" This reverts commit 0923064dff4c90e63d5266d04176121a562eb6a4. --- vault/activity_log_stubs_oss.go | 15 --------------- vault/activity_log_util.go | 5 +++++ 2 files changed, 5 insertions(+), 15 deletions(-) delete mode 100644 vault/activity_log_stubs_oss.go diff --git a/vault/activity_log_stubs_oss.go b/vault/activity_log_stubs_oss.go deleted file mode 100644 index 7d2457360563..000000000000 --- a/vault/activity_log_stubs_oss.go +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright (c) HashiCorp, Inc. -// SPDX-License-Identifier: BUSL-1.1 - -//go:build !enterprise - -package vault - -import "context" - -//go:generate go run github.com/hashicorp/vault/tools/stubmaker - -// sendGlobalClients is a no-op on CE -func (a *ActivityLog) sendGlobalClients(ctx context.Context) error { - return nil -} diff --git a/vault/activity_log_util.go b/vault/activity_log_util.go index 890af5533fad..d3fe2c78ca58 100644 --- a/vault/activity_log_util.go +++ b/vault/activity_log_util.go @@ -13,3 +13,8 @@ import ( func (a *ActivityLog) sendCurrentFragment(ctx context.Context) error { return nil } + +// sendGlobalClients is a no-op on CE +func (a *ActivityLog) sendGlobalClients(ctx context.Context) error { + return nil +}