mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
fix(oci): add missing method WithBundleParserOpts to oci_downloader_unavailable
Signed-off-by: slonka <slonka@users.noreply.github.com>
This commit is contained in:
@@ -4,6 +4,8 @@ package download
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"github.com/open-policy-agent/opa/ast"
|
||||
"github.com/open-policy-agent/opa/bundle"
|
||||
"github.com/open-policy-agent/opa/plugins/rest"
|
||||
)
|
||||
@@ -51,3 +53,7 @@ func (d *OCIDownloader) Start(context.Context) {
|
||||
func (d *OCIDownloader) Stop(context.Context) {
|
||||
panic("built without OCI support")
|
||||
}
|
||||
|
||||
func (*OCIDownloader) WithBundleParserOpts(ast.ParserOptions) *OCIDownloader {
|
||||
panic("built without OCI support")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user