diff --git a/controller/northbound/server/configurationmanagement.go b/controller/northbound/server/configurationmanagement.go index 35bec90ed073012f320e31810ba3282c988a4f05..f1b172c253b76dc7fc8ee1cc3f1c6bc1af5e7291 100644 --- a/controller/northbound/server/configurationmanagement.go +++ b/controller/northbound/server/configurationmanagement.go @@ -108,7 +108,6 @@ func (c ConfigurationManagementServer) ExportSDNConfig(ctx context.Context, requ // ImportSDNConfig receives an SDN configuration and imports it. func (c ConfigurationManagementServer) ImportSDNConfig(ctx context.Context, request *cmpb.ImportSDNConfigRequest) (*cmpb.ImportSDNConfigResponse, error) { var sdnConfig = loadedSDNConfig{} - err := json.Unmarshal([]byte(request.SdnConfigData), &sdnConfig) if err != nil { return nil, err