Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use current fsnotify library, drop viper dependency #95

Merged
merged 1 commit into from Nov 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/cdi/cmd/monitor.go
Expand Up @@ -22,9 +22,9 @@ import (
"strings"
"time"

"github.com/fsnotify/fsnotify"
"github.com/pkg/errors"
"github.com/spf13/cobra"
"gopkg.in/fsnotify.v1"

cdi "github.com/container-orchestrated-devices/container-device-interface/pkg/cdi"
)
Expand Down
7 changes: 3 additions & 4 deletions go.mod
Expand Up @@ -8,11 +8,10 @@ require (
github.com/opencontainers/runtime-spec v1.0.3-0.20210326190908-1c3f411f0417
github.com/opencontainers/runtime-tools v0.0.0-20190417131837-cd1349b7c47e
github.com/pkg/errors v0.9.1
github.com/spf13/cobra v1.2.1
github.com/spf13/cobra v1.6.0
github.com/stretchr/testify v1.7.0
github.com/xeipuuv/gojsonschema v1.2.0
golang.org/x/sys v0.0.0-20211116061358-0a5406a5449c
gopkg.in/fsnotify.v1 v1.4.7
sigs.k8s.io/yaml v1.3.0
)

Expand All @@ -21,7 +20,7 @@ require (
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/hashicorp/errwrap v1.0.0 // indirect
github.com/hashicorp/go-multierror v1.1.1 // indirect
github.com/inconshreveable/mousetrap v1.0.0 // indirect
github.com/inconshreveable/mousetrap v1.0.1 // indirect
github.com/opencontainers/selinux v1.10.0 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/sirupsen/logrus v1.8.1 // indirect
Expand All @@ -30,5 +29,5 @@ require (
github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f // indirect
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)