Separate the target selection in GetTarget() into two steps. First determine the default target name for the image type and then use the name to initialise the target object. This is a bit more work (and double switching) but will be needed to support selecting targets externally. |
||
|---|---|---|
| .. | ||
| v2 | ||
| server.go | ||