Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpud: default to building cpud with mDNS enabled #242

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmds/cpud/main_mdns_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build mDNS
//go:build !nomDNS

package main

Expand Down Expand Up @@ -59,7 +59,7 @@ func servemDNS(s *ssh.Server) error {
if err != nil {
return fmt.Errorf("Could not advertise with dns-sd: %w", err)
}
// defer ds.Unregister()
// defer ds.Unregister()

wrap := &handleWrapper{
handle: s.Handler,
Expand Down
4 changes: 2 additions & 2 deletions cmds/cpud/serve_mdns_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//go:build mDNS
// +build mDNS
//go:build !nomDNS
// +build !nomDNS

package main

Expand Down
Loading