Merge branch 'dryad' into demo
authorPawel Wieczorek <p.wieczorek2@samsung.com>
Fri, 5 Jan 2018 12:15:30 +0000 (13:15 +0100)
committerPawel Wieczorek <p.wieczorek2@samsung.com>
Fri, 5 Jan 2018 12:15:30 +0000 (13:15 +0100)
Change-Id: If73ceb60dcb3e83d0cabb46a063643444fcb2f74

1  2 
dryadjobmanager.go
manager/dryad_job.go

Simple merge
@@@ -54,8 -54,8 +54,8 @@@ func newDryadJobWithCancel(job JobID, c
  
  // newDryadJob creates an instance of dryadJob and starts a goroutine
  // executing phases of given job implemented by provider of DryadJobRunner interface.
 -func newDryadJob(job JobID, rusalka Dryad, changes chan<- DryadJobStatusChange) *dryadJob {
 +func newDryadJob(job JobID, rusalka Dryad, conf Config, changes chan<- DryadJobStatusChange) *dryadJob {
-       session := dryad.NewSessionProvider(rusalka)
+       session, _ := dryad.NewSessionProvider(rusalka) // FIXME: Make use of returned error.
        device := dryad.NewDeviceCommunicationProvider(session)
  
        ctx, cancel := context.WithCancel(context.Background())