Skip to content
Snippets Groups Projects
Unverified Commit 4bb1e30c authored by Olivier Cazade's avatar Olivier Cazade Committed by GitHub
Browse files

NETOBSERV-1682: Revert toolchain version (#344)

* Reverting toolchain version because cachito does not support 1.22.2 yet

* Removing 1.22 toolchain in go.mod because cachito does not support it yet

* Generating files
parent 2fab6298
No related branches found
No related tags found
No related merge requests found
......@@ -2,8 +2,6 @@ module github.com/netobserv/netobserv-ebpf-agent
go 1.21.0
toolchain go1.22.2
require (
github.com/caarlos0/env/v6 v6.10.1
github.com/cilium/ebpf v0.15.0
......
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.3.0
// - protoc-gen-go-grpc v1.4.0
// - protoc v3.19.4
// source: proto/flow.proto
......@@ -15,8 +15,8 @@ import (
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
// Requires gRPC-Go v1.62.0 or later.
const _ = grpc.SupportPackageIsVersion8
const (
Collector_Send_FullMethodName = "/pbflow.Collector/Send"
......@@ -38,8 +38,9 @@ func NewCollectorClient(cc grpc.ClientConnInterface) CollectorClient {
}
func (c *collectorClient) Send(ctx context.Context, in *Records, opts ...grpc.CallOption) (*CollectorReply, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(CollectorReply)
err := c.cc.Invoke(ctx, Collector_Send_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, Collector_Send_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
......
// Code generated by protoc-gen-go-grpc. DO NOT EDIT.
// versions:
// - protoc-gen-go-grpc v1.3.0
// - protoc-gen-go-grpc v1.4.0
// - protoc v3.19.4
// source: proto/packet.proto
......@@ -15,8 +15,8 @@ import (
// This is a compile-time assertion to ensure that this generated file
// is compatible with the grpc package it is being compiled against.
// Requires gRPC-Go v1.32.0 or later.
const _ = grpc.SupportPackageIsVersion7
// Requires gRPC-Go v1.62.0 or later.
const _ = grpc.SupportPackageIsVersion8
const (
Collector_Send_FullMethodName = "/pbpacket.Collector/Send"
......@@ -38,8 +38,9 @@ func NewCollectorClient(cc grpc.ClientConnInterface) CollectorClient {
}
func (c *collectorClient) Send(ctx context.Context, in *Packet, opts ...grpc.CallOption) (*CollectorReply, error) {
cOpts := append([]grpc.CallOption{grpc.StaticMethod()}, opts...)
out := new(CollectorReply)
err := c.cc.Invoke(ctx, Collector_Send_FullMethodName, in, out, opts...)
err := c.cc.Invoke(ctx, Collector_Send_FullMethodName, in, out, cOpts...)
if err != nil {
return nil, err
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment