maybe fixed protobuf submit process for forge patches
This commit is contained in:
parent
f020b6f828
commit
473cf6f9ad
|
@ -5,7 +5,6 @@ package forgepb
|
|||
|
||||
import (
|
||||
"errors"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
"go.wit.com/log"
|
||||
|
@ -73,14 +72,6 @@ func (f *Forge) submitPatchset(pset *Patchset) error {
|
|||
return err
|
||||
}
|
||||
|
||||
test := strings.TrimSpace(string(body))
|
||||
lines := strings.Split(test, "\n")
|
||||
count := 0
|
||||
for _, line := range lines {
|
||||
log.Info("got back:", line)
|
||||
count += 1
|
||||
}
|
||||
log.Info("TODO: FIX THIS AND SEND PROTOBUF BACK")
|
||||
log.Info("Total patches:", count)
|
||||
log.Info("Total patches sent ok:", newpb.Len())
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue