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

wizzy export datasource fails if datasource already exists #175

Open
@rejeevd

Description

@rejeevd

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions