open-consul/api/ce_test.go

14 lines
373 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
//go:build !consulent
// +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 = ""