mirror of https://github.com/hashicorp/consul
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
|
|
}
|