Relation class typo

This commit is contained in:
Eric A. Miller
2014-10-20 23:20:02 -04:00
committed by Oliver Gorwits
parent 9184672f2b
commit 4c9a7d1a9b

View File

@@ -94,7 +94,7 @@ database but the relation is being used in C<search()>.
=cut =cut
__PACKAGE__->belongs_to( __PACKAGE__->belongs_to(
wireless_port => 'App::Netdisco::DB::Result::DeviceWirelessPort', wireless_port => 'App::Netdisco::DB::Result::DevicePortWireless',
{ 'foreign.ip' => 'self.switch', 'foreign.port' => 'self.port' }, { 'foreign.ip' => 'self.switch', 'foreign.port' => 'self.port' },
{ join_type => 'LEFT' } { join_type => 'LEFT' }
); );