maybe fixed protobuf submit process for forge patches
This commit is contained in:
parent
f020b6f828
commit
473cf6f9ad
|
@ -5,7 +5,6 @@ package forgepb
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"strings"
|
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"go.wit.com/log"
|
"go.wit.com/log"
|
||||||
|
@ -73,14 +72,6 @@ func (f *Forge) submitPatchset(pset *Patchset) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
test := strings.TrimSpace(string(body))
|
log.Info("Total patches sent ok:", newpb.Len())
|
||||||
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)
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue