From bab790e329ebab2bb469d18f1647f9b575927d5c Mon Sep 17 00:00:00 2001 From: "Eric A. Miller" Date: Mon, 20 Oct 2014 23:20:02 -0400 Subject: [PATCH] Relation class typo --- Netdisco/lib/App/Netdisco/DB/Result/Node.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Netdisco/lib/App/Netdisco/DB/Result/Node.pm b/Netdisco/lib/App/Netdisco/DB/Result/Node.pm index 36740d18..d71bf24a 100644 --- a/Netdisco/lib/App/Netdisco/DB/Result/Node.pm +++ b/Netdisco/lib/App/Netdisco/DB/Result/Node.pm @@ -94,7 +94,7 @@ database but the relation is being used in C. =cut __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' }, { join_type => 'LEFT' } );