Register correct jobs for harep task in maintd
Register correct jobs for harep task in maintd

After submitting the jobs for harep-style repair in the
maintenance daemon, we register the jobs we submitted.
To avoid serial bumps, we only do this, if the change
is a no-op, i.e., if we didn't submit any jobs. To check
for this, we have to look at the new jobs, not the old
ones. Fix this.

Signed-off-by: Klaus Aehlig <4ce51de36d9068cd7db2eec1151e0f3f95419008@google.com>
Reviewed-by: Petr Pudlak <9d19625f8ee825a2c398462ed335cbcf98f79c32@google.com>

bitemyapp/ganeti,andir/ganeti,leshchevds/ganeti,mbakke/ganeti,mbakke/ganeti,mbakke/ganeti,onponomarev/ganeti,andir/ganeti,leshchevds/ganeti,bitemyapp/ganeti,andir/ganeti,leshchevds/ganeti,ganeti/ganeti,ganeti/ganeti,ganeti/ganeti,onponomarev/ganeti