Skip to content

Commit

Permalink
fix warnings about unused proto imports
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Danna <steve@chef.io>
  • Loading branch information
stevendanna committed Apr 16, 2020
1 parent 1478b43 commit cf24824
Show file tree
Hide file tree
Showing 8 changed files with 185 additions and 200 deletions.
144 changes: 71 additions & 73 deletions api/external/cfgmgmt/cfgmgmt.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions api/external/cfgmgmt/cfgmgmt.proto
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ import "api/external/common/query/parameters.proto";
import "api/external/common/version/version.proto";
import "api/external/common/response.proto";

import "api/external/compliance/reporting/reporting.proto";

import "google/protobuf/struct.proto";
import "google/api/annotations.proto";
import "protoc-gen-swagger/options/annotations.proto";
Expand All @@ -34,8 +32,8 @@ service ConfigMgmt {
/*
GetNodes
Returns a list of infra nodes that have checked in to Automate.
Adding a filter makes a list of all nodes that meet the filter criteria.
Returns a list of infra nodes that have checked in to Automate.
Adding a filter makes a list of all nodes that meet the filter criteria.
Filters for the same field are ORd together, while filters across different fields are ANDed together.
Supports pagination, filtering (with wildcard support), and sorting.
Limited to 10k results.
Expand All @@ -61,7 +59,7 @@ service ConfigMgmt {
/*
GetRuns
Returns a list of run metadata (id, start and end time, and status) for the provided node ID.
Returns a list of run metadata (id, start and end time, and status) for the provided node ID.
Supports pagination.
Accepts a `start` parameter to denote start date for the list and a filter of type `status`.
Expand Down Expand Up @@ -281,7 +279,7 @@ service ConfigMgmt {
/*
GetPolicyCookbooks
Returns Policy Names with a list of cookbook names and associated policy identifiers based on a policy revision ID.
Returns Policy Names with a list of cookbook names and associated policy identifiers based on a policy revision ID.
Policy revision ids are sent with an infra run report and identifies which instance of a policy the node used for this run.
Authorization Action:
Expand Down
6 changes: 3 additions & 3 deletions api/external/cfgmgmt/cfgmgmt.swagger.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit cf24824

Please sign in to comment.