mirror of
				https://github.com/kata-containers/kata-containers.git
				synced 2025-11-03 19:15:58 +00:00 
			
		
		
		
	protocol: remove unused import_path
import_path is used as the default package when no input files specify go_package. However, all the files we are currently building already have a go_package definition, making this behavior both redundant and error-prone. Additionally, one of our files (types.pb.go) resides outside the grpc directory, indicating that it's indeed ignored but also inconsistent. Signed-off-by: Beraldo Leal <bleal@redhat.com>
This commit is contained in:
		@@ -56,7 +56,6 @@ generate_go_sources() {
 | 
			
		||||
    local root_path=$(realpath ../)/libs/protocols/protos
 | 
			
		||||
    local cmd="protoc -I$GOPATH/src:${root_path} \
 | 
			
		||||
--gogottrpc_out=plugins=ttrpc+fieldpath,paths=source_relative,\
 | 
			
		||||
import_path=github.com/kata-containers/kata-containers/src/runtime/virtcontainers/pkg/agent/protocols/grpc,\
 | 
			
		||||
Mgogoproto/gogo.proto=github.com/gogo/protobuf/gogoproto,\
 | 
			
		||||
Mgoogle/protobuf/any.proto=github.com/gogo/protobuf/types,\
 | 
			
		||||
Mgoogle/protobuf/descriptor.proto=github.com/gogo/protobuf/protoc-gen-gogo/descriptor,\
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user