Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
door7302 committed Mar 4, 2024
1 parent 8dc8466 commit 03e4d44
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
3 changes: 0 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ require (
github.com/mattn/go-sqlite3 v1.14.17
github.com/openconfig/gnmic v0.36.0
github.com/openconfig/gnmic/pkg/api v0.1.3
github.com/openconfig/gnmic/pkg/target v0.1.4
github.com/openshift-telco/go-netconf-client v1.0.6-0.20231016204147-70322b0d4d05
github.com/sirupsen/logrus v1.9.2
github.com/spf13/viper v1.15.0
Expand Down Expand Up @@ -59,8 +58,6 @@ require (
github.com/moby/term v0.5.0 // indirect
github.com/morikuni/aec v1.0.0 // indirect
github.com/openconfig/gnmi v0.10.0 // indirect
github.com/openconfig/gnmic/pkg/types v0.1.2 // indirect
github.com/openconfig/gnmic/pkg/utils v0.1.1 // indirect
github.com/openconfig/grpctunnel v0.1.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.2 // indirect
Expand Down
6 changes: 0 additions & 6 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -536,12 +536,6 @@ github.com/openconfig/gnmic v0.36.0 h1:05Fua6m45Umv60SmpmFyL5B83uPi7EkqJSHChTfnK
github.com/openconfig/gnmic v0.36.0/go.mod h1:Fo4PHxZZiOJpSgqRXKgWr8tJShIJ6jv2oJhvHC4OUHQ=
github.com/openconfig/gnmic/pkg/api v0.1.3 h1:Q3k2zLEStSkTMCRytVcLUnh43C2n9Be8/PK03xanHn8=
github.com/openconfig/gnmic/pkg/api v0.1.3/go.mod h1:/93C3QKfo1aErUFVEN0lVNSFdHC+0HWtiuNqEKQpCIk=
github.com/openconfig/gnmic/pkg/target v0.1.4 h1:zO7gOke9RVnkockM2lZv5MqgNdfysUSqxyp91OnEjOQ=
github.com/openconfig/gnmic/pkg/target v0.1.4/go.mod h1:hNmkYvuYFaUtbFWVm0PuvctJ70ku+fotxZxmkr5oeWM=
github.com/openconfig/gnmic/pkg/types v0.1.2 h1:FRjERZrbcuqhwRKHZ7ux4UXr4fc1DlgXvH37Iysu4Co=
github.com/openconfig/gnmic/pkg/types v0.1.2/go.mod h1:Gwc9suBy/s17bP8BaCrp3dE5E+RkcHqVIkFqdXopog4=
github.com/openconfig/gnmic/pkg/utils v0.1.1 h1:LgfI/c/O8VpuZg1RS9G6XEeRhAQSlOalE52/8tsdf00=
github.com/openconfig/gnmic/pkg/utils v0.1.1/go.mod h1:DQm/e8cdRwdmUORjODWteDU0HG0CWNYBAhLWqnPQegE=
github.com/openconfig/grpctunnel v0.1.0 h1:EN99qtlExZczgQgp5ANnHRC/Rs62cAG+Tz2BQ5m/maM=
github.com/openconfig/grpctunnel v0.1.0/go.mod h1:G04Pdu0pml98tdvXrvLaU+EBo3PxYfI9MYqpvdaEHLo=
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
Expand Down
3 changes: 2 additions & 1 deletion parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (

"github.com/google/uuid"
"github.com/openconfig/gnmic/pkg/api"
"github.com/openconfig/gnmic/pkg/api/target"
"github.com/openconfig/gnmic/pkg/formatters"
"github.com/openconfig/gnmic/pkg/target"
)

const PATH_CERT string = "/var/shared/telegraf/cert/"
Expand Down Expand Up @@ -267,6 +267,7 @@ func LaunchSearch() {
if sqlite.ActiveCred.ClientTls == "yes" {
clienttls = true
}

if tls {
if clienttls {
// create a target
Expand Down

0 comments on commit 03e4d44

Please sign in to comment.