Skip to content
Snippets Groups Projects
Commit 5c1ee61f authored by Neil Schark's avatar Neil Schark
Browse files

formatting

parent 94475b23
No related branches found
No related tags found
1 merge request!404Enable export and import of SDN configuration
Pipeline #124768 failed
...@@ -108,7 +108,6 @@ func (c ConfigurationManagementServer) ExportSDNConfig(ctx context.Context, requ ...@@ -108,7 +108,6 @@ func (c ConfigurationManagementServer) ExportSDNConfig(ctx context.Context, requ
// ImportSDNConfig receives an SDN configuration and imports it. // ImportSDNConfig receives an SDN configuration and imports it.
func (c ConfigurationManagementServer) ImportSDNConfig(ctx context.Context, request *cmpb.ImportSDNConfigRequest) (*cmpb.ImportSDNConfigResponse, error) { func (c ConfigurationManagementServer) ImportSDNConfig(ctx context.Context, request *cmpb.ImportSDNConfigRequest) (*cmpb.ImportSDNConfigResponse, error) {
var sdnConfig = loadedSDNConfig{} var sdnConfig = loadedSDNConfig{}
err := json.Unmarshal([]byte(request.SdnConfigData), &sdnConfig) err := json.Unmarshal([]byte(request.SdnConfigData), &sdnConfig)
if err != nil { if err != nil {
return nil, err return nil, err
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment