Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dviejokfs committed Apr 3, 2022
1 parent 7059cd6 commit eb52d36
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions cmd/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@ import (
"encoding/binary"
"encoding/json"
"fmt"
"github.com/golang/protobuf/proto"
"github.com/hashicorp/yamux"
"github.com/kfsoftware/getout/pkg/messages"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
"io"
"net"
"net/http"
"sync"
"time"

"github.com/golang/protobuf/proto"
"github.com/hashicorp/yamux"
"github.com/kfsoftware/getout/pkg/messages"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
)

type serverCmd struct {
Expand Down Expand Up @@ -101,7 +102,7 @@ func (c *serverCmd) run() error {

err := http.ListenAndServe(c.adminAddr, nil)
if err != nil {
log.Error().Msgf("Error listening on %s: %w", c.adminAddr, err)
log.Error().Msgf("Error listening on %s: %v", c.adminAddr, err)
}

}()
Expand Down

0 comments on commit eb52d36

Please sign in to comment.