mirror of https://github.com/status-im/consul.git
parent
e559c59eb6
commit
a46ac4be07
|
@ -13,6 +13,10 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func (md *lanMergeDelegate) enterpriseNotifyMergeMember(m *serf.Member) error {
|
func (md *lanMergeDelegate) enterpriseNotifyMergeMember(m *serf.Member) error {
|
||||||
|
if memberFIPS := m.Tags["fips"]; memberFIPS != "" {
|
||||||
|
return fmt.Errorf("Member '%s' is FIPS Consul; FIPS Consul is only available in Consul Enterprise",
|
||||||
|
m.Name)
|
||||||
|
}
|
||||||
if memberPartition := m.Tags["ap"]; memberPartition != "" {
|
if memberPartition := m.Tags["ap"]; memberPartition != "" {
|
||||||
return fmt.Errorf("Member '%s' part of partition '%s'; Partitions are a Consul Enterprise feature",
|
return fmt.Errorf("Member '%s' part of partition '%s'; Partitions are a Consul Enterprise feature",
|
||||||
m.Name, memberPartition)
|
m.Name, memberPartition)
|
||||||
|
|
|
@ -2,6 +2,10 @@
|
||||||
|
|
||||||
package version
|
package version
|
||||||
|
|
||||||
|
func IsFIPS() bool {
|
||||||
|
return false
|
||||||
|
}
|
||||||
|
|
||||||
func GetFIPSInfo() string {
|
func GetFIPSInfo() string {
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue