consul/api/ce_test.go

13 lines
352 B
Go
Raw Normal View History

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
//go:build !consulent
package api
// The following defaults return "default" in enterprise and "" in CE.
// This constant is useful when a default value is needed for an
// operation that will reject non-empty values in CE.
const defaultNamespace = ""
const defaultPartition = ""