diff --git a/proto/spire/api/agent/delegatedidentity/v1/delegatedidentity.proto b/proto/spire/api/agent/delegatedidentity/v1/delegatedidentity.proto index 40b3ded..c952124 100644 --- a/proto/spire/api/agent/delegatedidentity/v1/delegatedidentity.proto +++ b/proto/spire/api/agent/delegatedidentity/v1/delegatedidentity.proto @@ -60,11 +60,11 @@ message X509SVIDWithKey { // in a `oneof` without creating and nesting an intermediate `message` type, which would break // back compat - so we accept both and check for mutual exclusion in the handler message SubscribeToX509SVIDsRequest { - // Selectors describing the workload to subscribe to. Mutually exclusive with `pid` + // Selectors describing the workload to subscribe to. Mutually exclusive with `pid`. repeated spire.api.types.Selector selectors = 1; // PID for the workload to subscribe to. Mutually exclusive with `selectors` - int32 pid = 3; + int32 pid = 2; } message SubscribeToX509SVIDsResponse { @@ -105,8 +105,8 @@ message FetchJWTSVIDsRequest { // Selectors describing the workload to subscribe to. Mutually exclusive with `pid` repeated spire.api.types.Selector selectors = 2; - // PID for the workload to subscribe to. Mutually exclusive with `selectors` - int32 pid = 4; + // PID for the workload to subscribe to. Mutually exclusive with `selectors`. + int32 pid = 3; } // The FetchJWTSVIDsResponse message conveys JWT-SVIDs. diff --git a/proto/spire/api/agent/delegatedidentity/v1/delegatedidentity_grpc.pb.go b/proto/spire/api/agent/delegatedidentity/v1/delegatedidentity_grpc.pb.go index 6000abe..06c0c1a 100644 --- a/proto/spire/api/agent/delegatedidentity/v1/delegatedidentity_grpc.pb.go +++ b/proto/spire/api/agent/delegatedidentity/v1/delegatedidentity_grpc.pb.go @@ -4,6 +4,7 @@ package delegatedidentityv1 import ( context "context" + grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" diff --git a/proto/spire/api/types/selector.pb.go b/proto/spire/api/types/selector.pb.go index afe8470..33d10ec 100644 --- a/proto/spire/api/types/selector.pb.go +++ b/proto/spire/api/types/selector.pb.go @@ -7,10 +7,11 @@ package types import ( - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" + + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" ) const (