Skip to content

Commit

Permalink
bumping privilegedademonset version to v0.0.4 (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
edcdavid authored Nov 3, 2022
1 parent 23ec9a3 commit 13c3f1d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ require (
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.9.0
github.com/test-network-function/l2discovery-exports v0.0.0-20220926190927-5f72a82c96d4
github.com/test-network-function/privileged-daemonset v0.0.0-20220923160818-f61f26ba4b41
github.com/test-network-function/privileged-daemonset v0.0.4
github.com/yourbasic/graph v0.0.0-20210606180040-8ecfec1c2869
k8s.io/api v0.25.3
k8s.io/apimachinery v0.25.3
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify v1.8.0 h1:pSgiaMZlXftHpm5L7V1+rVB+AZJydKsMxsQBIJw4PKk=
github.com/test-network-function/l2discovery-exports v0.0.0-20220926190927-5f72a82c96d4 h1:j9+gxKhtniE/BML+3p+CIlUHqQc+/6OmF0BVE+C5fOw=
github.com/test-network-function/l2discovery-exports v0.0.0-20220926190927-5f72a82c96d4/go.mod h1:LXzJLrM5Ao0j4pN/HnlYrBQDpO3TCtlfiK4HmRk2ps8=
github.com/test-network-function/privileged-daemonset v0.0.0-20220923160818-f61f26ba4b41 h1:nbTi4bx/eHsrgqxeOgvORH0A15VPJNIR1cT9rdSLvd8=
github.com/test-network-function/privileged-daemonset v0.0.0-20220923160818-f61f26ba4b41/go.mod h1:CuyN/5N/yKavCQ8Ba0K52Mv/YbtVSN4Snk5tBaLJR68=
github.com/test-network-function/privileged-daemonset v0.0.4 h1:MuBFeUq9tqaI09LH30yqqbmKUQnN7HXiVXbLgKNe8vg=
github.com/test-network-function/privileged-daemonset v0.0.4/go.mod h1:c5m+hDVcPkn+pMYUNqGhB8N2ezc1mtxTOt/e7PCU94A=
github.com/yourbasic/graph v0.0.0-20210606180040-8ecfec1c2869 h1:7v7L5lsfw4w8iqBBXETukHo4IPltmD+mWoLRYUmeGN8=
github.com/yourbasic/graph v0.0.0-20210606180040-8ecfec1c2869/go.mod h1:Rfzr+sqaDreiCaoQbFCu3sTXxeFq/9kXRuyOoSlGQHE=
github.com/yuin/goldmark v1.1.25/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74=
Expand Down
3 changes: 2 additions & 1 deletion l2lib.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,8 @@ func (config *L2DiscoveryConfig) DiscoverL2Connectivity(ptpInterfacesOnly bool)
// Create L2 discovery daemonset
config.L2DsMode = StringToL2Mode(os.Getenv("L2_DAEMONSET"))
if config.L2DsMode == Managed {
_, err = daemonsets.CreateDaemonSet(L2DiscoveryDsName, L2DiscoveryNsName, L2DiscoveryContainerName, l2DiscoveryImage, timeoutDaemon)
dummyMap := map[string]string{}
_, err = daemonsets.CreateDaemonSet(L2DiscoveryDsName, L2DiscoveryNsName, L2DiscoveryContainerName, l2DiscoveryImage, dummyMap, timeoutDaemon)
if err != nil {
return fmt.Errorf("error creating l2 discovery daemonset, err=%s", err)
}
Expand Down

0 comments on commit 13c3f1d

Please sign in to comment.