GoogleCloudPlatform / security-response-automation

Take automated actions against threats and vulnerabilities.
Apache License 2.0
208 stars 52 forks source link

fix typos and add config.yaml to error message #157

Closed daniel-cit closed 4 years ago

daniel-cit commented 4 years ago

Fix two typos and add config.yaml to error message.

Before:

D 2020-01-02T14:50:08.473054748Z Router 837923264596131 Function execution started Router 837923264596131 
D 2020-01-02T14:50:08.604505590Z Router 837923264596131 Function execution took 132 ms, finished with status: 'error' Router 837923264596131 
E 2020-01-02T14:50:09.663Z Router 837923264596131 Function error: yaml: line 126: could not find expected ':'

After:

D 2020-01-02T21:57:42.391997002Z Router 838488507192516 Function execution started Router 838488507192516 
D 2020-01-02T21:57:42.520128440Z Router 838488507192516 Function execution took 129 ms, finished with status: 'error' Router 838488507192516 
E 2020-01-02T21:57:43.523Z Router 838488507192516 Function error: failed to unmarshal config.yaml: yaml: line 126: could not find expected ':'