- Logs
- Logging Decisions
- Logging Stories
- Logging Negatives - hard to know if you're not finding it, or if the log entry doesn't exist
- Logging Storage
- Structured Logging
- Include a human readable "msg" which helps reading the flow of events - tells the story
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This was the basis of the individual examples that were written. | |
| Feature: Monopoly Game | |
| Scenario: Player Movement | |
| Given player "A" on "The Angel Islington" | |
| When the player rolls a 2 and 1 | |
| Then they land on "Pentonville Road" | |
| Scenario: Passing through GO! | |
| Given: player "B" on "Park Lane" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/pkg/client/typed_client.go b/pkg/client/typed_client.go | |
| index 92afd9a9..f721e1ed 100644 | |
| --- a/pkg/client/typed_client.go | |
| +++ b/pkg/client/typed_client.go | |
| @@ -85,7 +85,7 @@ func (c *typedClient) Delete(ctx context.Context, obj Object, opts ...DeleteOpti | |
| Name(o.GetName()). | |
| Body(deleteOpts.AsDeleteOptions()). | |
| Do(ctx). | |
| - Error() | |
| + Into(obj) |
OlderNewer