Orchestrator throws an error while creating multiple cSBIs

Description

First creation of a cSBI is successful, all following are failing. This is because an error is thrown, which tells that the (csbi *Csbi) Type() is declared multiple times.

Expected Behavior

It should be possible to create multiple cSBI devices

Actual Behavior

Only one cSBI device can be created, after that the creation of the following cSBI devices fails.

Possible Fix

The Type() append while generating the gostruct file seems to be added multiple times. Checking this case should lead to the cause of the error.

Steps to Reproduce

  1. Generate a cSBI device via gosdnc
  2. Generate another cSBI device via gosdnc

Context

This prevents normal use of the controller

Your Environment

  • Version used:
  • Environment name and version (e.g. go v1.16.3 on FreeBSD 13.0-current):
  • Server type and version:
  • Operating System and version: