aboutsummaryrefslogtreecommitdiffstats
path: root/commands/bridge_push.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/bridge_push.go')
-rw-r--r--commands/bridge_push.go17
1 files changed, 1 insertions, 16 deletions
diff --git a/commands/bridge_push.go b/commands/bridge_push.go
index 00413f06..26f42dc4 100644
--- a/commands/bridge_push.go
+++ b/commands/bridge_push.go
@@ -63,28 +63,13 @@ func runBridgePush(cmd *cobra.Command, args []string) error {
return nil
})
- // TODO: by default export only new events
- events, err := b.ExportAll(ctx, time.Time{})
+ err = b.ExportAll(ctx, time.Time{})
if err != nil {
return err
}
- exportedIssues := 0
- for result := range events {
- if result.Event != core.ExportEventNothing {
- fmt.Println(result.String())
- }
-
- switch result.Event {
- case core.ExportEventBug:
- exportedIssues++
- }
- }
-
// send done signal
close(done)
-
- fmt.Printf("Successfully exported %d issues with %s bridge\n", exportedIssues, b.Name)
return nil
}