Uploaded image for project: 'VOLTHA'
  1. VOLTHA
  2. VOL-4351

Process_tech_profile_instance_request does not return errors

    XMLWordPrintable

    Details

    • Story Points:
      2
    • Epic Link:
    • Sprint:
      VOLTHA 2.9 - Sprint 4

      Description

      The voltha-lib-go Process_tech_profile_instance_request adapter method returns nil if a TP is not found.

      That can't be processed in InterContainerProxy.handleMessage:

      else if len(out) == 2 && reflect.ValueOf(out[0].Interface()).IsValid() && reflect.ValueOf(out[0].Interface()).IsNil() {
         logger.Warnw(ctx, "Unexpected response of (nil,nil)", log.Fields{"txId": msg.Header.Id})
         return // Ignore - should not happen
      }
      

      and silently fails (the request is never responded to)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              teone Matteo Scandolo
              Reporter:
              teone Matteo Scandolo
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: