Relation class typo

This commit is contained in:
Eric A. Miller
2014-10-20 23:20:02 -04:00
parent 805afe97cb
commit bab790e329

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' }
); );