mirror of https://github.com/status-im/consul.git
16 lines
348 B
Go
16 lines
348 B
Go
|
// Copyright (c) HashiCorp, Inc.
|
||
|
// SPDX-License-Identifier: BUSL-1.1
|
||
|
|
||
|
//go:build !consulent
|
||
|
|
||
|
package resource
|
||
|
|
||
|
import "github.com/hashicorp/consul/proto-public/pbresource"
|
||
|
|
||
|
func blockBuiltinsDeletion(rtype *pbresource.Type, id *pbresource.ID) error {
|
||
|
if err := blockDefaultNamespaceDeletion(rtype, id); err != nil {
|
||
|
return err
|
||
|
}
|
||
|
return nil
|
||
|
}
|