mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix lining error
This commit is contained in:
parent
8a4aa19588
commit
c972f92299
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user