minor cleanup of left-over/unused statements.
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
die "Target Portal Group has invalid value, must contain string 'tpg' and a suffix number, eg 'tpg17'\n";
}
- my $base = get_base;
-
my $config = $get_config->($scfg);
my $jsonconfig = JSON->new->utf8->decode($config);
# determines, if the given object exists on the portal
my $list_lun = sub {
my ($scfg, $timeout, $method, @params) = @_;
- my $name = undef;
my $object = $params[0];
my $volname = $extract_volname->($scfg, $object);
}
}
- return $name;
+ return undef;
};
# adds a new LUN to the target