diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-07-29 01:04:26 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-07-29 01:04:26 (GMT) |
commit | e31e6952793325f4c4a58c20a55c4c2d0a03b9e0 (patch) | |
tree | 19ae9c0616889db5df1030f6c1a78cf3bf4a4553 /src/rhimportd/ctrlTelnet.go | |
parent | 34b75131b9cb6fd510fe47af865cf5ec7d52a31b (diff) |
slightly improved telnet output
Diffstat (limited to 'src/rhimportd/ctrlTelnet.go')
-rw-r--r-- | src/rhimportd/ctrlTelnet.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rhimportd/ctrlTelnet.go b/src/rhimportd/ctrlTelnet.go index 1339a81..eb8d39a 100644 --- a/src/rhimportd/ctrlTelnet.go +++ b/src/rhimportd/ctrlTelnet.go @@ -293,13 +293,14 @@ func telnetRun(c *telgo.Client, args []string, conf *rhimport.Config, db *rddb.D return false } ctx := c.UserData.(*rhimport.Context) + c.Sayln("starting import from '%s'", ctx.SourceUri) id, s, code, errstring := sessions.New(ctx, "") if code != http.StatusOK { c.Sayln("creating session failed: %s", errstring) return false } - c.Sayln("got session id: %s", id) + c.Sayln(" * got session id: %s", id) donechan := make(chan rhimport.Result, 1) if err := s.AddDoneHandler((chan<- rhimport.Result)(donechan), telnetDoneCallback); err != nil { @@ -313,7 +314,6 @@ func telnetRun(c *telgo.Client, args []string, conf *rhimport.Config, db *rddb.D return false } - c.Sayln("starting import from '%s'", ctx.SourceUri) s.Run(0) currentStep := 0 |