From b098d84557318d30e6bb1aa907c82a4d55d6a6bb Mon Sep 17 00:00:00 2001 From: Juan Font Date: Fri, 10 Sep 2021 00:32:06 +0200 Subject: [PATCH] Apply suggestions from code review Changed more variable names Co-authored-by: Kristoffer Dalby --- sharing.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sharing.go b/sharing.go index c507707a..98811e5d 100644 --- a/sharing.go +++ b/sharing.go @@ -3,7 +3,7 @@ package headscale import "gorm.io/gorm" const errorSameNamespace = Error("Destination namespace same as origin") -const errorNodeAlreadyShared = Error("Node already shared to this namespace") +const errorMachineAlreadyShared = Error("Node already shared to this namespace") // SharedMachine is a join table to support sharing nodes between namespaces type SharedMachine struct {