Skip to content
Snippets Groups Projects
Commit ec3f89b8 authored by Malte Bauch's avatar Malte Bauch
Browse files

fixed "not 'gofmt'-ed" error

parent f2670a0a
No related branches found
No related tags found
2 merge requests!120Resolve "Code Quality",!90Develop
......@@ -48,7 +48,7 @@ var getDeviceCmd = &cobra.Command{
"uuid="+uuid,
"sbi="+cliSbi,
"pnd="+cliPnd,
)
)
},
}
......
......@@ -28,6 +28,7 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.
*/
package cmd
import (
......@@ -41,7 +42,7 @@ var initCmd = &cobra.Command{
Short: "initialise SBI and PND",
Long: ``,
RunE: func(cmd *cobra.Command, args []string) error {
return cli.HttpGet(apiEndpoint, "init" )
return cli.HttpGet(apiEndpoint, "init")
},
}
......
......@@ -49,7 +49,7 @@ var requestCmd = &cobra.Command{
"sbi="+cliSbi,
"pnd="+cliPnd,
"path="+args[0],
)
)
},
}
......
......@@ -48,7 +48,7 @@ var requestAllCmd = &cobra.Command{
"sbi="+cliSbi,
"pnd="+cliPnd,
"path="+args[0],
)
)
},
}
......
......@@ -63,7 +63,7 @@ func createSouthboundInterfaces() error {
}
// createPrincipalNetworkDomain initializes the controller with an initial PND
func createPrincipalNetworkDomain(sbi SouthboundInterface) error{
func createPrincipalNetworkDomain(sbi SouthboundInterface) error {
pnd, err := NewPND("base", "gosdn base pnd", uuid.New(), sbi)
if err != nil {
return err
......
......@@ -162,4 +162,4 @@ func httpHandler(writer http.ResponseWriter, request *http.Request) {
default:
writer.WriteHeader(http.StatusBadRequest)
}
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment