Skip to content

Commit

Permalink
fixup fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
josephdrichard committed Jun 19, 2024
1 parent bf09e1f commit 8ba06cc
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion pkg/daemon/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"path/filepath"
"strings"

"github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/event"
"k8s.io/client-go/rest"
"k8s.io/client-go/tools/clientcmd"
"github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/event"
)

const (
Expand Down
10 changes: 5 additions & 5 deletions pkg/daemon/daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ package daemon
import (
"bufio"
"cmp"
"net"
"fmt"
"net"
"os"
"os/exec"
"regexp"
"slices"
"strings"
"strconv"
"strings"
"sync"
"syscall"
"time"
Expand All @@ -21,8 +21,8 @@ import (
"github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/config"
"github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/dpll"
"github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/event"
"github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/pmc"
"github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/leap"
"github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/pmc"

ptpv1 "github.com/k8snetworkplumbingwg/ptp-operator/api/v1"
ptpnetwork "github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/network"
Expand Down Expand Up @@ -56,8 +56,8 @@ var (
// Processes in ProcessManager will be started
// or stopped simultaneously.
type ProcessManager struct {
process []*ptpProcess
eventChannel chan event.EventChannel
process []*ptpProcess
eventChannel chan event.EventChannel
}

// NewProcessManager is used by unit tests
Expand Down
2 changes: 1 addition & 1 deletion pkg/daemon/daemon/gpsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import (
"syscall"
"time"

"github.com/golang/glog"
"github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/config"
"github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/event"
"github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/leap"
"github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/ublox"
gpsdlib "github.com/stratoberry/go-gpsd"
"github.com/golang/glog"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion pkg/daemon/dpll/dpll.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (

"github.com/golang/glog"
"github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/config"
"github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/event"
nl "github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/dpll-netlink"
"github.com/k8snetworkplumbingwg/ptp-operator/pkg/daemon/event"
"github.com/mdlayher/genetlink"
"golang.org/x/sync/semaphore"
)
Expand Down

0 comments on commit 8ba06cc

Please sign in to comment.