SEBA-281
DeleteONT
Change-Id: Iacf44006e691f1fa503f4701e728fbea5305522f
diff --git a/api/handler.go b/api/handler.go
index 2d5c5ed..ce5c7a1 100644
--- a/api/handler.go
+++ b/api/handler.go
@@ -43,6 +43,7 @@
Echo - Tester function which just returns same string sent to it
*/
func (s *Server) Echo(ctx context.Context, in *EchoMessage) (*EchoReplyMessage, error) {
+ fmt.Println("HELLO WTF")
ping := in.GetPing()
pong := EchoReplyMessage{Pong: ping}
return &pong, nil
@@ -82,7 +83,7 @@
}
abstractChassis := abstract.GenerateChassis(clli, int(in.GetRack()), int(in.GetShelf()))
- phyChassis := physical.Chassis{CLLI: clli, XOSAddress: xosAddress, Rack: rack, Shelf: shelf}
+ phyChassis := physical.Chassis{CLLI: clli, XOSUser: xosUser, XOSPassword: xosPassword, XOSAddress: xosAddress, Rack: rack, Shelf: shelf}
chassisHolder = &models.ChassisHolder{AbstractChassis: abstractChassis, PhysicalChassis: phyChassis}
if settings.GetDebug() {