print how many patches there were
This commit is contained in:
parent
df19b5b8f8
commit
121e9f08da
|
@ -1,5 +1,3 @@
|
||||||
go.*
|
go.*
|
||||||
|
*.swp
|
||||||
*.pb.go
|
*.pb.go
|
||||||
|
|
||||||
forgeConfig/forgeConfig
|
|
||||||
|
|
|
@ -228,8 +228,12 @@ func (f *Forge) submitPatchset(pset *Patchset) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
test := strings.TrimSpace(string(body))
|
test := strings.TrimSpace(string(body))
|
||||||
for _, line := range strings.Split(test, "\n") {
|
lines := strings.Split(test, "\n")
|
||||||
|
count := 0
|
||||||
|
for _, line := range lines {
|
||||||
log.Info("got back:", line)
|
log.Info("got back:", line)
|
||||||
|
count += 1
|
||||||
}
|
}
|
||||||
|
log.Info("Total patches:", count)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue