mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-10-30 18:17:55 +00:00
Added Stubs to stop breakage of Ent (#28772)
This commit is contained in:
15
vault/activity_log_stubs_oss.go
Normal file
15
vault/activity_log_stubs_oss.go
Normal 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
|
||||||
|
}
|
||||||
@@ -13,8 +13,3 @@ import (
|
|||||||
func (a *ActivityLog) sendCurrentFragment(ctx context.Context) error {
|
func (a *ActivityLog) sendCurrentFragment(ctx context.Context) error {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// sendGlobalClients is a no-op on CE
|
|
||||||
func (a *ActivityLog) sendGlobalClients(ctx context.Context) error {
|
|
||||||
return nil
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user