Added Stubs to stop breakage of Ent (#28772)

This commit is contained in:
divyaac
2024-10-25 09:14:19 -07:00
committed by GitHub
parent dec3bcc1aa
commit 0923064dff
2 changed files with 15 additions and 5 deletions

View File

@@ -0,0 +1,15 @@
// 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
}

View File

@@ -13,8 +13,3 @@ 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
}