Skip to content

Commit b5c9f43

Browse files
committed
fix: get data Source API
1 parent 92228a1 commit b5c9f43

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/cluster/environment/EnvironmentService.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ func (impl EnvironmentServiceImpl) GetDataSourceName(environment string) (DataSo
122122
impl.logger.Errorw("error in fetching datasource", "err", err)
123123
return datasource, err
124124
}
125-
datasource.Name = data.Name
126-
datasource.Id = model.GrafanaDatasourceId
125+
datasource.name = data.Name
126+
datasource.id = model.GrafanaDatasourceId
127127
return datasource, nil
128128
}
129129
}

0 commit comments

Comments
 (0)