diff --git a/sharing.go b/sharing.go index c507707..98811e5 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 {