Skip to content

Commit

Permalink
Rollback plugin rename.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nedimar Turatti committed Jan 8, 2024
1 parent 3d31359 commit e98b7a1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## 1.0.6
## 1.0.5

- Fix default granulatiry.
- Alerting true.
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
GF_LOG_LEVEL: "debug"
volumes:
- grafana-data:/var/lib/grafana
- ./:/var/lib/grafana/plugins/globocom-youbora-datasource
- ./:/var/lib/grafana/plugins/nedimar-youbora-datasource

js-builder:
build:
Expand Down Expand Up @@ -41,7 +41,7 @@ services:
ports:
- 3000:3000
volumes:
- ./:/var/lib/grafana/plugins/youbora-datasource
- ./:/var/lib/grafana/plugins/nedimar-youbora-datasource
environment:
GF_DEFAULT_APP_MODE: "development"
entrypoint: /bin/sh -c
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "globocom-youbora-datasource",
"version": "1.0.6",
"name": "nedimar-youbora-datasource",
"version": "1.0.5",
"description": "NPAW's Youbora data source plugin",
"scripts": {
"build": "grafana-toolkit plugin:build",
Expand Down
2 changes: 1 addition & 1 deletion pkg/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func main() {
// from Grafana to create different instances of SampleDatasource (per datasource
// ID). When datasource configuration changed Dispose method will be called and
// new datasource instance created using NewSampleDatasource factory.
if err := datasource.Manage("globocom-youbora-datasource", plugin.NewYouboraDataSource, datasource.ManageOpts{}); err != nil {
if err := datasource.Manage("nedimar-youbora-datasource", plugin.NewYouboraDataSource, datasource.ManageOpts{}); err != nil {
log.DefaultLogger.Error(err.Error())
os.Exit(1)
}
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://raw.githubusercontent.com/grafana/grafana/master/docs/sources/developers/plugins/plugin.schema.json",
"type": "datasource",
"name": "Youbora",
"id": "globocom-youbora-datasource",
"id": "nedimar-youbora-datasource",
"metrics": true,
"backend": true,
"alerting": true,
Expand Down

0 comments on commit e98b7a1

Please sign in to comment.