From c39fdcb8ac84f0f08dea7cb12a1938732b78c365 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Mon, 22 Jan 2024 15:19:57 -0500 Subject: [PATCH] lang: funcs: dage: Have the compiler verify expectations This engine should fulfill the GraphAPI interface. Specify that here in case it's not obvious. --- lang/funcs/dage/dage_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/funcs/dage/dage_test.go b/lang/funcs/dage/dage_test.go index 9fcf44dc..f07013b1 100644 --- a/lang/funcs/dage/dage_test.go +++ b/lang/funcs/dage/dage_test.go @@ -29,6 +29,8 @@ import ( "github.com/purpleidea/mgmt/util" ) +var _ interfaces.GraphAPI = &Engine{} // ensure it meets this expectation + type testFunc struct { Name string Type *types.Type