Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

wizzy export datasource fails if datasource already exists #175

Open
rejeevd opened this issue Mar 20, 2020 · 0 comments
Open

wizzy export datasource fails if datasource already exists #175

rejeevd opened this issue Mar 20, 2020 · 0 comments

Comments

@rejeevd
Copy link

rejeevd commented Mar 20, 2020

wizzy export datasource fails if datasource already exists.
The same succeeds if datasource does not exist.
See the stack trace below. Looks like the request.js do not have put method (only post).

wizzy export datasource Bosun
/usr/local/lib/node_modules/wizzy/src/remote/grafana/exportSrv.js:356
request.put(options, (error, response, body) => {
^

TypeError: request.put is not a function
at Request._callback (/usr/local/lib/node_modules/wizzy/src/remote/grafana/exportSrv.js:356:15)
at Request.self.callback (/usr/local/lib/node_modules/wizzy/node_modules/request/request.js:185:22)
at Request.emit (events.js:210:5)
at Request.EventEmitter.emit (domain.js:475:20)
at Request. (/usr/local/lib/node_modules/wizzy/node_modules/request/request.js:1154:10)
at Request.emit (events.js:210:5)
at Request.EventEmitter.emit (domain.js:475:20)
at IncomingMessage. (/usr/local/lib/node_modules/wizzy/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:299:28)
at IncomingMessage.emit (events.js:215:7)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant