Skip to content

Commit

Permalink
Update registry client
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Glazychev <[email protected]>
  • Loading branch information
glazychev-art committed May 12, 2022
1 parent 662b9e1 commit 71f9dd6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion internal/deviceplugin/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

//+build !windows
//go:build !windows
// +build !windows

// Package deviceplugin provides tools for setting up device plugin server
package deviceplugin
Expand Down
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,8 @@ func main() {
),
)

nseRegistryClient := registryclient.NewNetworkServiceEndpointRegistryClient(ctx, &config.ConnectTo,
nseRegistryClient := registryclient.NewNetworkServiceEndpointRegistryClient(ctx,
registryclient.WithClientURL(&config.ConnectTo),
registryclient.WithDialOptions(clientOptions...),
registryclient.WithNSEAdditionalFunctionality(
sendfd.NewNetworkServiceEndpointRegistryClient(),
Expand Down

0 comments on commit 71f9dd6

Please sign in to comment.