summaryrefslogtreecommitdiff
path: root/validate.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-26 10:11:39 -0500
committerJeff Carr <[email protected]>2024-10-26 10:11:39 -0500
commit34b6891507a5651043c71a7ada754a8bceb7ef55 (patch)
treeacc2b9d52fd02bf4a5219d513334b5c77eec9066 /validate.go
parenta50f387b96f5bf3e466a91ddd02804a2289090cc (diff)
move this into a common package?
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'validate.go')
-rw-r--r--validate.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/validate.go b/validate.go
index 3822c2a..7f074de 100644
--- a/validate.go
+++ b/validate.go
@@ -24,6 +24,7 @@ import (
"go.wit.com/log"
)
+/*
// will make sure the mac address is unique
func checkUniqueMac(mac string) bool {
for _, d := range me.cluster.Droplets {
@@ -36,6 +37,7 @@ func checkUniqueMac(mac string) bool {
}
return true
}
+*/
// records all the known paths. this should go in the protobuf
func addClusterFilepath(dir string) *pb.Event {