protobuf: remove unused imports (#1267)
This removes unused imports in the protobuf files which are reported as warnings by the protoc compiler.
This commit is contained in:
1 parent
4bd480c183
commit
094bdcdd2b
52 files changed
+985
-1129
No files matched your search
@@ -5,7 +5,6 @@ package controller.api.resources.authtokens.v1;
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/authtokens;authtokens";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
import "controller/api/resources/scopes/v1/scope.proto";
|
||||
|
||||
// AuthToken contains all fields related to an Auth Token resource
|
||||
|
||||
@@ -7,7 +7,6 @@ option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/r
|
||||
import "google/protobuf/struct.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
import "controller/api/resources/hosts/v1/host.proto";
|
||||
import "controller/api/resources/scopes/v1/scope.proto";
|
||||
import "controller/custom_options/v1/options.proto";
|
||||
|
||||
|
||||
@@ -5,11 +5,7 @@ package controller.api.resources.sessions.v1;
|
||||
option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/resources/sessions;sessions";
|
||||
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
import "google/protobuf/struct.proto";
|
||||
import "controller/api/resources/scopes/v1/scope.proto";
|
||||
import "controller/api/resources/targets/v1/target.proto";
|
||||
import "controller/custom_options/v1/options.proto";
|
||||
|
||||
message WorkerInfo {
|
||||
// The address of the worker.
|
||||
|
||||
@@ -7,7 +7,6 @@ option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/s
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "google/api/annotations.proto";
|
||||
import "google/protobuf/field_mask.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
import "controller/api/resources/accounts/v1/account.proto";
|
||||
|
||||
service AccountService {
|
||||
@@ -179,4 +178,4 @@ message ChangePasswordRequest {
|
||||
|
||||
message ChangePasswordResponse {
|
||||
resources.accounts.v1.Account item = 1;
|
||||
}
|
||||
}
|
||||
@@ -7,7 +7,6 @@ option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/s
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "google/api/annotations.proto";
|
||||
import "google/protobuf/field_mask.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
import "controller/api/resources/groups/v1/group.proto";
|
||||
import "controller/api/resources/scopes/v1/scope.proto";
|
||||
|
||||
|
||||
@@ -7,7 +7,6 @@ option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/s
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "google/api/annotations.proto";
|
||||
import "google/protobuf/field_mask.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
import "controller/api/resources/roles/v1/role.proto";
|
||||
|
||||
service RoleService {
|
||||
|
||||
@@ -6,7 +6,6 @@ option go_package = "github.com/hashicorp/boundary/internal/gen/controller/api/s
|
||||
|
||||
import "protoc-gen-openapiv2/options/annotations.proto";
|
||||
import "google/api/annotations.proto";
|
||||
import "google/protobuf/field_mask.proto";
|
||||
import "controller/api/resources/sessions/v1/session.proto";
|
||||
|
||||
service SessionService {
|
||||
|
||||
Reference in new issue
Block a user