Skip to content

Commit

Permalink
fix merge, remove debug println
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldwan committed Aug 24, 2021
1 parent f59a83b commit b533d0a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions internal/buildinfo/version.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package buildinfo

import (
"fmt"
"time"

"github.com/blang/semver"
Expand All @@ -22,7 +21,6 @@ func init() {
func loadMeta(now time.Time) {
var err error

fmt.Println(environment, IsDev())
if IsDev() {
parsedBuildDate = now.UTC()

Expand Down
2 changes: 1 addition & 1 deletion pkg/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func runningProcess() (*os.Process, error) {
return os.FindProcess(pid)
}

func NewServer(path string, apiClient *api.Client) (*Server, error) {
func NewServer(path string, apiClient *api.Client, background bool) (*Server, error) {
if err := removeSocket(path); err != nil {
// most of these errors just mean the socket isn't already there
// which is what we want.
Expand Down

0 comments on commit b533d0a

Please sign in to comment.