Minor fixing of newlines at end of files and updating link of copied bash script.

pull/9/head
Todd Knight 6 years ago
parent 30a97de677
commit 4f8d148c1e

@ -40,4 +40,4 @@ cleanup:
.PHONY: proto
.NOTPARALLEL:
.NOTPARALLEL:

@ -11,4 +11,4 @@ lint:
- protoc-gen-swagger
- google
# TODO: Remove once the proto files under oplog are compliant with the linter.
- oplog
- oplog

@ -18,7 +18,7 @@
"paths": {
"/v1/ec2_catalogs": {
"get": {
"operationId": "ListEc2Catalogs",
"operationId": "ControllerService_ListEc2Catalogs",
"responses": {
"200": {
"description": "A successful response.",
@ -48,7 +48,7 @@
]
},
"post": {
"operationId": "CreateEc2Catalog",
"operationId": "ControllerService_CreateEc2Catalog",
"responses": {
"200": {
"description": "",
@ -80,7 +80,7 @@
},
"/v1/ec2_catalogs/{catalog.id}": {
"patch": {
"operationId": "UpdateEc2Catalog",
"operationId": "ControllerService_UpdateEc2Catalog",
"responses": {
"200": {
"description": "A successful response.",
@ -119,7 +119,7 @@
},
"/v1/ec2_catalogs/{id}": {
"get": {
"operationId": "GetEc2Catalog",
"operationId": "ControllerService_GetEc2Catalog",
"responses": {
"200": {
"description": "",
@ -148,7 +148,7 @@
]
},
"delete": {
"operationId": "DeleteEc2Catalog",
"operationId": "ControllerService_DeleteEc2Catalog",
"responses": {
"200": {
"description": "A successful response.",
@ -178,7 +178,7 @@
},
"/v1/ec2_catalogs/{id}:rotate": {
"post": {
"operationId": "RotateEc2CatalogAccessKey",
"operationId": "ControllerService_RotateEc2CatalogAccessKey",
"responses": {
"200": {
"description": "A successful response.",

@ -1,6 +1,6 @@
#!/usr/bin/env bash
# Copied with minor changes from Makego at https://github.com/bufbuild/buf/blob/master/make/go/scripts/protoc_gen_plugin.bash
# Copied with minor changes from Makego at https://github.com/bufbuild/makego/blob/master/make/go/scripts/protoc_gen_plugin.bash
set -eo pipefail
@ -86,4 +86,4 @@ for proto_path in "${PROTO_PATHS[@]}"; do
echo protoc "${PROTOC_FLAGS[@]}" $(find "${dir}" -name '*.proto')
protoc "${PROTOC_FLAGS[@]}" $(find "${dir}" -name '*.proto')
done
done
done

@ -19,4 +19,4 @@ message Error {
string message = 3;
// Additional metadata regarding the error. Depending on the error different fields will be populated.
ErrorDetails details = 4;
}
}

@ -17,4 +17,3 @@ message Ec2Catalog {
google.protobuf.Timestamp created_time = 7;
google.protobuf.Timestamp updated_time = 8;
}

@ -1,15 +1,13 @@
// +build tools
/*
This file ensures tool dependencies are kept in sync. This is the recommended way of doing this according to
https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
To update the versions used by this repo use.
% go mod tidy
To install the following tools at the version used by this repo run
% go install (each of the dependencies listed below)
*/
// This file ensures tool dependencies are kept in sync. This is the recommended way of doing this according to
// https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
//
// To update the versions used by this repo use.
// % go mod tidy
//
// To install the following tools at the version used by this repo run
// % go install (each of the dependencies listed below)
package tools

Loading…
Cancel
Save