Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bandetto committed Jun 26, 2024
1 parent 33f44a6 commit e1afa50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helper/restore_helper.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (r *RestoreReader) logPlugin() {
func (r *RestoreReader) waitForPlugin() error {
if r.pluginCmd != nil && !r.pluginCmd.isEnded {
log(fmt.Sprintf("Waiting for the plugin process (%d)", r.pluginCmd.Process.Pid))
err := r.pluginCmd.Wait();
err := r.pluginCmd.Wait()
r.pluginCmd.isEnded = true
if err != nil {
logError(fmt.Sprintf("Plugin process exited with an error: %s", err))
Expand Down Expand Up @@ -553,7 +553,7 @@ func getSubsetFlag(fileToRead string, pluginConfig *utils.PluginConfig) bool {
type pluginCmd struct {
*exec.Cmd
stderrBuffer *bytes.Buffer
isEnded bool
isEnded bool
}

func newPluginCmd(errBuf *bytes.Buffer, name string, arg ...string) *pluginCmd {
Expand Down

0 comments on commit e1afa50

Please sign in to comment.