diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-01-05 14:59:12 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-01-05 14:59:12 (GMT) |
commit | 489d4cc9c6a84728ac18e6b65b45b933f34eb5e4 (patch) | |
tree | de0cf8078c6a055ffaaebb979477b1cb9a237c59 | |
parent | 11dc798c4523bc83c9fb03c7ca74eb203e615ebe (diff) |
streamlined the usage of rhimport.NewContext
-rw-r--r-- | core.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -86,11 +86,11 @@ type Context struct { Cancel <-chan bool } -func NewContext(conf *Config, rddb *RdDbChan, user string) *Context { +func NewContext(conf *Config, rddb *RdDbChan) *Context { ctx := new(Context) ctx.conf = conf ctx.rddb = rddb - ctx.UserName = user + ctx.UserName = "" ctx.Password = "" ctx.Trusted = false ctx.ShowId = 0 |