You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @elek I'd like to work on this. I'm new to go so I wanna take this up as a challenge. A quick search has led me to io.Reader and io.Writer. So the plan is to use c.Stdout which is an io.Writer according to Go docs and use it to write to logs instead of zap.String("output", string(out)). Does this look okay?
Backend calls good old CLI commands under the hood (see
backend/service.go
). If it fails, it returns with an error (including stdout).But some of the commands (like
docker push
) are quite slow.It would be better to start the command and continuously streaming the output to the frontend which would show new lines immediately.
In the current, very simple prototype, we just wait until the response is received.
The text was updated successfully, but these errors were encountered: