Skip to content

Commit 6f53018

Browse files
authored
readded Lint plugin 1.0.59
1 parent 968de32 commit 6f53018

File tree

6 files changed

+19
-13
lines changed

6 files changed

+19
-13
lines changed

.github/workflows/dependency-review.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
77
name: 'Dependency Review'
88
on: [pull_request]
9-
9+
#
1010
permissions:
1111
contents: read
12-
12+
#
1313
jobs:
1414
dependency-review:
1515
runs-on: ubuntu-latest
@@ -18,3 +18,4 @@ jobs:
1818
uses: actions/checkout@v3
1919
- name: 'Dependency Review'
2020
uses: actions/dependency-review-action@v2
21+
#

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -106,13 +106,13 @@ jobs:
106106
zip ${{ steps.metadata.outputs.archive }} ${{ steps.metadata.outputs.plugin-id }} -r
107107
md5sum ${{ steps.metadata.outputs.archive }} > ${{ steps.metadata.outputs.archive-checksum }}
108108
echo "::set-output name=checksum::$(cat ./${{ steps.metadata.outputs.archive-checksum }} | cut -d' ' -f1)"
109-
#- name: Lint plugin
110-
# run: |
111-
# git clone https://github.com/grafana/plugin-validator
112-
# pushd ./plugin-validator/pkg/cmd/plugincheck
113-
# go install
114-
# popd
115-
# plugincheck ${{ steps.metadata.outputs.archive }}
109+
- name: Lint plugin
110+
run: |
111+
git clone https://github.com/grafana/plugin-validator
112+
pushd ./plugin-validator/pkg/cmd/plugincheck
113+
go install
114+
popd
115+
plugincheck ${{ steps.metadata.outputs.archive }}
116116
- name: Create release
117117
id: create_release
118118
uses: actions/create-release@v1

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
4+
## 1.0.59
5+
6+
WebSocket Data Source Plugin Launch added connection string and fix plugin name
7+
38
## 1.0.58
49

510
WebSocket Data Source Plugin Launch added connection string and fix plugin name

pkg/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ func main() {
1818
// ID). When datasource configuration changed Dispose method will be called and
1919
// new datasource instance created using NewSampleDatasource factory.
2020
if err := datasource.Manage("allannava-websocket-datasource", plugin.NewWebSocketDataSource, datasource.ManageOpts{}); err != nil {
21-
log.DefaultLogger.Error(err.Error())
21+
log.DefaultLogger.Error("allannava-websocket-datasource error: ", err.Error())
2222
os.Exit(1)
2323
}
2424
}

src/datasource.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ export class DataSource extends DataSourceWithBackend<
3636
path: replaceWithVars(path),
3737
}))
3838

39-
const result = super.query(newOptions)
40-
const queries = targets.filter(target => !target.hide).map(target => target)
39+
const result = super.query(newOptions);
40+
const queries = targets.filter(target => !target.hide).map(target => target);
4141

4242
return result.pipe(
4343
map(event => {

src/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
{"name": "Websockets Payloads", "path": "img/assets/grafana-websockets-graphing.png"},
3434
{"name": "Streaming", "path": "img/assets/grafana-websockets-plugin-streaming.png"}
3535
],
36-
"version": "1.0.58",
36+
"version": "1.0.59",
3737
"updated": "%TODAY%"
3838
},
3939
"dependencies": {

0 commit comments

Comments
 (0)