Skip to content

Commit 02731c4

Browse files
authored
Clean up - Remove duplicate dhcp package (#397)
## Description Remove duplicate dhcp package. This was left over from the initial incorporation. The functionality still exists, it has just been moved under the internal package. ## Why is this needed Fixes: # ## How Has This Been Tested? ## How are existing users impacted? What migration steps/scripts do we need? ## Checklist: I have: - [ ] updated the documentation and/or roadmap (if required) - [ ] added unit or e2e tests - [ ] provided instructions on how to upgrade
2 parents b2ac2dd + d3e42a7 commit 02731c4

File tree

28 files changed

+5
-3454
lines changed

28 files changed

+5
-3454
lines changed

backend/file/file.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/fsnotify/fsnotify"
1616
"github.com/ghodss/yaml"
1717
"github.com/go-logr/logr"
18-
"github.com/tinkerbell/smee/dhcp/data"
18+
"github.com/tinkerbell/smee/internal/dhcp/data"
1919
"go.opentelemetry.io/otel"
2020
"go.opentelemetry.io/otel/codes"
2121
)

backend/file/file_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"github.com/go-logr/stdr"
2020
"github.com/google/go-cmp/cmp"
2121
"github.com/google/go-cmp/cmp/cmpopts"
22-
"github.com/tinkerbell/smee/dhcp/data"
22+
"github.com/tinkerbell/smee/internal/dhcp/data"
2323
)
2424

2525
func TestNewWatcher(t *testing.T) {

backend/kube/kube.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"net/netip"
1010
"net/url"
1111

12-
"github.com/tinkerbell/smee/dhcp/data"
12+
"github.com/tinkerbell/smee/internal/dhcp/data"
1313
"github.com/tinkerbell/tink/api/v1alpha1"
1414
"go.opentelemetry.io/otel"
1515
"go.opentelemetry.io/otel/codes"

backend/kube/kube_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010

1111
"github.com/google/go-cmp/cmp"
1212
"github.com/google/go-cmp/cmp/cmpopts"
13-
"github.com/tinkerbell/smee/dhcp/data"
13+
"github.com/tinkerbell/smee/internal/dhcp/data"
1414
"github.com/tinkerbell/tink/api/v1alpha1"
1515
"k8s.io/apimachinery/pkg/api/meta"
1616
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"

backend/noop/noop.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"errors"
77
"net"
88

9-
"github.com/tinkerbell/smee/dhcp/data"
9+
"github.com/tinkerbell/smee/internal/dhcp/data"
1010
)
1111

1212
// Handler is a noop backend.

dhcp/README.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

dhcp/data/data.go

Lines changed: 0 additions & 116 deletions
This file was deleted.

dhcp/data/data_test.go

Lines changed: 0 additions & 108 deletions
This file was deleted.

0 commit comments

Comments
 (0)