mirror of
https://github.com/juanfont/headscale.git
synced 2026-10-18 04:26:31 +09:00
Renamed sharing function
This commit is contained in:
1 parent
7edd0cd14c
commit
729cd54401
3 files changed
+9
-9
No files matched your search
@@ -203,7 +203,7 @@ var shareNodeCmd = &cobra.Command{
|
||||
log.Fatalf("Error getting node: %s", err)
|
||||
}
|
||||
|
||||
err = h.ShareNodeInNamespace(m, destNs)
|
||||
err = h.AddSharedMachineToNamespace(m, destNs)
|
||||
if strings.HasPrefix(o, "json") {
|
||||
JsonOutput(map[string]string{"Result": "Node shared"}, err, o)
|
||||
return
|
||||
|
||||
Reference in new issue
Block a user