Skip to content

Commit

Permalink
fix: default to iSCSI if no initiator type specified
Browse files Browse the repository at this point in the history
  • Loading branch information
David-T-White committed May 18, 2023
1 parent 9bb9b9c commit 71c7426
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/node_service/node_service_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ func (s *server) GetInitiators(ctx context.Context, in *pb.InitiatorRequest) (*p
case pb.InitiatorType_ISCSI:
initiators, err = storage.GetISCSIInitiators()
case pb.InitiatorType_UNSPECIFIED:
klog.InfoS("Unspecified initiator type in initiator request")
klog.InfoS("Unspecified initiator type in initiator request, defaulting to iSCSI")
initiators, err = storage.GetISCSIInitiators()
}
if err != nil {
return nil, err
Expand Down

0 comments on commit 71c7426

Please sign in to comment.