[pve-devel] [PATCH pve-manager 07/18] ReplicationTestEnv.pm: add job tracking log

Dietmar Maurer dietmar at proxmox.com
Tue May 23 12:23:24 CEST 2017


> > +# helper to track job status
> > +sub track_jobs {
> > +    my ($ctime) = @_;
> > +
> > +    if (!$status) {
> > +	$status = clone(PVE::Replication::job_status());
> 
> Are these clone calls necessary? 

No - I just forgot to clone the result in $mocked_replication_config->()




More information about the pve-devel mailing list