implement pull + sink modes for active and passive side

This commit is contained in:
Christian Schwarz
2018-09-24 12:31:29 +02:00
parent 6889f441b2
commit d04b9713c4
5 changed files with 120 additions and 4 deletions

View File

@@ -188,7 +188,7 @@ func (t *tui) draw() {
t.setIndent(1)
t.newline()
if v.Type != job.TypePush {
if v.Type != job.TypePush && v.Type != job.TypePull {
t.printf("No status representation for job type '%s', dumping as YAML", v.Type)
t.newline()
asYaml, err := yaml.Marshal(v.JobSpecific)