Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused imports from protofiles #4758

Open
msorens opened this issue Feb 22, 2021 · 0 comments
Open

Remove unused imports from protofiles #4758

msorens opened this issue Feb 22, 2021 · 0 comments
Assignees
Labels

Comments

@msorens
Copy link
Contributor

msorens commented Feb 22, 2021

Describe the bug

Running compile_all_protobuf_components reports these warnings:

external/cds/cds.proto:10:1: warning: Import google/protobuf/struct.proto is unused.
external/cds/cds.proto:12:1: warning: Import protoc-gen-swagger/options/annotations.proto is unused.
external/event_feed/event_feed.proto:10:1: warning: Import external/common/response.proto is unused.
external/iam/v2/common/teams.proto:6:1: warning: Import protoc-gen-swagger/options/annotations.proto is unused.
interservice/authn/tokens.proto:3:1: warning: Import google/api/annotations.proto is unused.
interservice/compliance/jobs/jobs.proto:7:1: warning: Import google/api/annotations.proto is unused.
interservice/compliance/profiles/profiles.proto:6:1: warning: Import google/api/annotations.proto is unused.
interservice/compliance/reporting/reporting.proto:6:1: warning: Import google/api/annotations.proto is unused.
interservice/compliance/stats/stats.proto:6:1: warning: Import google/api/annotations.proto is unused.
interservice/compliance/version/version.proto:6:1: warning: Import google/api/annotations.proto is unused.
interservice/event_feed/event_feed.proto:7:1: warning: Import external/event_feed/request/event.proto is unused.
interservice/event_feed/event_feed.proto:8:1: warning: Import external/event_feed/response/event.proto is unused.
interservice/event_feed/event_feed.proto:9:1: warning: Import external/common/response.proto is unused.
interservice/infra_proxy/request/policyfiles.proto:6:1: warning: Import protoc-gen-swagger/options/annotations.proto is unused.
interservice/local_user/users.proto:3:1: warning: Import google/api/annotations.proto is unused.
interservice/nodemanager/manager/manager.proto:6:1: warning: Import google/api/annotations.proto is unused.
interservice/nodemanager/nodes/nodes.proto:7:1: warning: Import google/api/annotations.proto is unused.
interservice/teams/teams.proto:3:1: warning: Import google/api/annotations.proto is unused.

To Reproduce

Steps to reproduce the behavior:

  • hab studio enter
  • compile_all_protobuf_components

Expected behavior

No warnings

Aha! Link: https://chef.aha.io/epics/SH-E-468

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants