Apply suggestions from code review

Changed more variable names

Co-authored-by: Kristoffer Dalby <kradalby@kradalby.no>
This commit is contained in:
Juan FontandKristoffer Dalby authored and GitHub committed 2021-09-10 00:32:06 +02:00
1 parent b937f9b762
commit b098d84557
1 file changed
+1 -1
+1 -1
View File
@@ -3,7 +3,7 @@ package headscale
import "gorm.io/gorm" import "gorm.io/gorm"
const errorSameNamespace = Error("Destination namespace same as origin") 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 // SharedMachine is a join table to support sharing nodes between namespaces
type SharedMachine struct { type SharedMachine struct {