Skip to content

Commit

Permalink
Clean up - Remove duplicate dhcp package (#397)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
mergify[bot] committed Jan 18, 2024
2 parents b2ac2dd + d3e42a7 commit 02731c4
Show file tree
Hide file tree
Showing 28 changed files with 5 additions and 3,454 deletions.
2 changes: 1 addition & 1 deletion backend/file/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/fsnotify/fsnotify"
"github.com/ghodss/yaml"
"github.com/go-logr/logr"
"github.com/tinkerbell/smee/dhcp/data"
"github.com/tinkerbell/smee/internal/dhcp/data"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/codes"
)
Expand Down
2 changes: 1 addition & 1 deletion backend/file/file_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"github.com/go-logr/stdr"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
"github.com/tinkerbell/smee/dhcp/data"
"github.com/tinkerbell/smee/internal/dhcp/data"
)

func TestNewWatcher(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion backend/kube/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"net/netip"
"net/url"

"github.com/tinkerbell/smee/dhcp/data"
"github.com/tinkerbell/smee/internal/dhcp/data"
"github.com/tinkerbell/tink/api/v1alpha1"
"go.opentelemetry.io/otel"
"go.opentelemetry.io/otel/codes"
Expand Down
2 changes: 1 addition & 1 deletion backend/kube/kube_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (

"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
"github.com/tinkerbell/smee/dhcp/data"
"github.com/tinkerbell/smee/internal/dhcp/data"
"github.com/tinkerbell/tink/api/v1alpha1"
"k8s.io/apimachinery/pkg/api/meta"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
2 changes: 1 addition & 1 deletion backend/noop/noop.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"errors"
"net"

"github.com/tinkerbell/smee/dhcp/data"
"github.com/tinkerbell/smee/internal/dhcp/data"
)

// Handler is a noop backend.
Expand Down
22 changes: 0 additions & 22 deletions dhcp/README.md

This file was deleted.

116 changes: 0 additions & 116 deletions dhcp/data/data.go

This file was deleted.

108 changes: 0 additions & 108 deletions dhcp/data/data_test.go

This file was deleted.

Loading

0 comments on commit 02731c4

Please sign in to comment.