Revision c7c640d903f4dfc2cc9b685ada1587ce4ae4e4be authored by Joe Blubaugh on 13 October 2022, 02:24:00 UTC, committed by GitHub on 13 October 2022, 02:24:00 UTC
The email notifier was incorrectly handling Windows filepaths. This is
fixed by using the `path/filepath` package.
1 parent 254bb0c
Raw File
stub.go
package export

import (
	"net/http"

	"github.com/grafana/grafana/pkg/api/response"
	"github.com/grafana/grafana/pkg/models"
)

var _ ExportService = new(StubExport)

type StubExport struct{}

func (ex *StubExport) HandleGetStatus(c *models.ReqContext) response.Response {
	return response.Error(http.StatusForbidden, "feature not enabled", nil)
}

func (ex *StubExport) HandleGetOptions(c *models.ReqContext) response.Response {
	return response.Error(http.StatusForbidden, "feature not enabled", nil)
}

func (ex *StubExport) HandleRequestExport(c *models.ReqContext) response.Response {
	return response.Error(http.StatusForbidden, "feature not enabled", nil)
}

func (ex *StubExport) HandleRequestStop(c *models.ReqContext) response.Response {
	return response.Error(http.StatusForbidden, "feature not enabled", nil)
}
back to top