FIXUP: pass by value
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Wed, 13 Dec 2017 13:28:18 +0000 (14:28 +0100)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Fri, 5 Jan 2018 12:44:55 +0000 (13:44 +0100)
Change-Id: Ie54e1dcedb63799f48bc8ded8cfb313fa358d6d0

controller/parserimpl.go

index 8fb2a87..669394e 100644 (file)
@@ -87,7 +87,7 @@ func (h *ParserImpl) Parse(j JobID) {
                return
        }
 
-       err = h.jobs.SetConfig(j, conf)
+       err = h.jobs.SetConfig(j, *conf)
        if err != nil {
                h.SendFail(j, fmt.Sprintf("Internal Weles error while setting config : %s", err.Error()))
                return