mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-03 06:22:38 +09:00
Address a bunch of golint warnings.
This commit is contained in:
@@ -91,6 +91,7 @@ func (h *Headscale) ListMachinesInNamespace(name string) (*[]Machine, error) {
|
||||
return &machines, nil
|
||||
}
|
||||
|
||||
// SetMachineNamespace assigns a Machine to a namespace
|
||||
func (h *Headscale) SetMachineNamespace(m *Machine, namespaceName string) error {
|
||||
n, err := h.GetNamespace(namespaceName)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user