Mailinglist Archive: opensuse-buildservice (306 mails)

< Previous Next >
Re: [opensuse-buildservice] workers fail with "Not an ARRAY reference at ./bs_worker line 671." after updating obs to 2.0.1
  • From: Carsten Hoeger <choeger@xxxxxxxxxxxx>
  • Date: Mon, 28 Jun 2010 13:42:56 +0200
  • Message-id: <20100628114256.GG2903@xxxxxxxxxxxx>
On Mon, Jun 28, Michael Schröder wrote:

This is the content file from one of the "broken" workers.
I found out which workers - sometimes - issue that error in adding that code
to bs_worker:

sub manage_cache {

[...]

$content ||= [];
if( ref(@$content) ne "ARRAY" ) {

I don't even know what 'ref' does if you give it an array as
argument...

Yes, that's nonsense which happened while op was under pressure...

--
With best regards,

Carsten Hoeger
< Previous Next >