Skip to content

Commit

Permalink
fix(backend): fixing elastic apm connection test (#2456)
Browse files Browse the repository at this point in the history
  • Loading branch information
xoscar committed Apr 27, 2023
1 parent 17637ff commit 7eb7851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/http/mappings/datastore.go
Expand Up @@ -132,8 +132,8 @@ func (m Model) DataStore(in openapi.DataStore) datastoreresource.DataStore {

// ElasticAPM
if dataStore.Type == datastoreresource.DataStoreTypeElasticAPM {
dataStore.Values.OpenSearch = &datastoreresource.ElasticSearchConfig{}
deepcopy.DeepCopy(in.Opensearch, &dataStore.Values.ElasticApm)
dataStore.Values.ElasticApm = &datastoreresource.ElasticSearchConfig{}
deepcopy.DeepCopy(in.Elasticapm, &dataStore.Values.ElasticApm)
}

// SignalFX
Expand Down

0 comments on commit 7eb7851

Please sign in to comment.