Fix lining error

This commit is contained in:
Elfo404 2022-07-07 15:32:40 +02:00
parent 8a4aa19588
commit c972f92299
No known key found for this signature in database
GPG Key ID: 586539D9491F0726

View File

@ -105,7 +105,12 @@ func (s *FakeDataSourceService) CreateCorrelation(ctx context.Context, cmd *data
datasource.Correlations = append(datasource.Correlations, newCorrelation)
cmd.Result = newCorrelation
cmd.Result = datasources.CorrelationDTO{
Target: newCorrelation.Target,
Description: newCorrelation.Description,
Label: newCorrelation.Label,
Version: cmd.Version + 1,
}
return nil
}
}