Skip to content

Commit

Permalink
engine: resources: Make consul optional
Browse files Browse the repository at this point in the history
Licensing has made this non-free. Let's put that behind a build tag for
now, and remove it entirely if no suitable libre replacement is found.
  • Loading branch information
purpleidea committed Sep 4, 2024
1 parent c6e9175 commit fd3a2a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions engine/resources/consul_kv.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
// additional permission if he deems it necessary to achieve the goals of this
// additional permission.

//go:build !noconsul

package resources

import (
Expand Down
2 changes: 1 addition & 1 deletion engine/resources/consul_kv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
// additional permission if he deems it necessary to achieve the goals of this
// additional permission.

//go:build !root
//go:build !root || !noconsul

package resources

Expand Down

0 comments on commit fd3a2a1

Please sign in to comment.