redemption icon indicating copy to clipboard operation
redemption copied to clipboard

interactive target module expects "target_host" but dispays "target_device"

Open jukeks opened this issue 5 years ago • 1 comments

If "target_host" is set when initializing module "interactive_target", the field with label Device will be empty and not asked. device-1

If "target_device" is set, the field with label Device will be empty asked and there will be another field without a label with the value. device-2

If both are set, it works as intended: device-3

I'm guessing this should only use "target_device" field.

jukeks avatar Dec 11 '19 11:12 jukeks

"target_device" field should always be set, it is a label field

  • used as helper if "target_host" is asked (for example, can contain format for running remote application on target)
  • used as a name of the device if "target_host" is known (an abstract name not necessarily equals to "target_host")

What we can do instead, in the case where "target_host" is set and not "target_device", is to show the "target_host" value.

mengtan avatar Feb 19 '20 14:02 mengtan