featurebase/etcd/plg_cluster.go
Kasey C. Rodgers 2ef39fdc9c
Fb1463 no cluster build (#2100)
* got single node working; refining error messaging and version info to follow

* better implementation that separates the build condition into etcd/enterprise_cluster.go and etcd/plg_cluster.go. go build will default to a clustering version and 'go build -tags plg' will build the non-clustering version

* added Makefile target for 'make plg'

* additional comments, CI/CD update

Co-authored-by: Kasey Rodgers <kaseyrodgers@Kaseys-MBP.attlocal.net>
2022-06-09 12:32:46 -07:00

11 lines
272 B
Go

//go:build plg
// +build plg
// Copyright 2022 Molecula Corp. All rights reserved.
package etcd
// allows us to conditionally build a version of FB that does not
// cluster, to make a demo available for our Product Led Growth.
func AllowCluster() bool {
return false
}