Skip to content

Commit

Permalink
cmd: Remove support for shared library loading
Browse files Browse the repository at this point in the history
Shared library loading was removed in v0.14.0. This commit removes the
deprecated code and moves the test coverage for plugin registration
via the runtime package global into the runtime package.

Fixes open-policy-agent#2049

Signed-off-by: Torin Sandall <[email protected]>
  • Loading branch information
tsandall committed Apr 30, 2020
1 parent eacecb0 commit 7db82e7
Show file tree
Hide file tree
Showing 5 changed files with 152 additions and 454 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@

VERSION := 0.20.0-dev

CGO_ENABLED ?= 0

# Force modules on and to use the vendor directory.
GO := GO111MODULE=on GOFLAGS=-mod=vendor go
GO := CGO_ENABLED=$(CGO_ENABLED) GO111MODULE=on GOFLAGS=-mod=vendor go

GOVERSION := $(shell cat ./.go-version)
GOARCH := $(shell go env GOARCH)
GOOS := $(shell go env GOOS)
Expand Down
83 changes: 0 additions & 83 deletions cmd/plugins.go

This file was deleted.

Loading

0 comments on commit 7db82e7

Please sign in to comment.