Skip to content

Add retraced commands [ch3179]#45

Merged
dexhorthy merged 1 commit intoreplicatedcom:masterfrom
dexhorthy:dex/ch3179/replicated-audit-logs
Nov 9, 2017
Merged

Add retraced commands [ch3179]#45
dexhorthy merged 1 commit intoreplicatedcom:masterfrom
dexhorthy:dex/ch3179/replicated-audit-logs

Conversation

@dexhorthy
Copy link
Copy Markdown
Contributor

I think optional next step may be to do some kind of parsing/structuring so we
can print these out more nicely, but this seems pretty good for now.

@dexhorthy dexhorthy requested a review from areed November 9, 2017 03:38
"github.com/replicatedcom/support-bundle/pkg/types"
)

func Events(spec types.Spec) []types.Task {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about doing a nil check here on spec.RetracedEventsCommand and then passing as value to producers.Events?
https://github.com/replicatedcom/support-bundle/blob/master/pkg/plugins/docker/planners/run-command.go#L11

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it 👍

I think optional next step may be to do some kind of parsing/structuring so we
can print these out more nicely, but this seems pretty good for now.
@dexhorthy dexhorthy force-pushed the dex/ch3179/replicated-audit-logs branch from fae82d3 to f076316 Compare November 9, 2017 17:10
@dexhorthy dexhorthy merged commit 96165e4 into replicatedcom:master Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants