Skip to content

Commit bfffb09

Browse files
committed
pkg/aaparser: deprecate GetVersion, as it's no longer used
Our templates no longer contain version-specific rules, so this function is no longer used. This patch deprecates it. Signed-off-by: Sebastiaan van Stijn <[email protected]> (cherry picked from commit e3e7156) Signed-off-by: Sebastiaan van Stijn <[email protected]>
1 parent e28bc0d commit bfffb09

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

pkg/aaparser/aaparser.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ const (
1313
)
1414

1515
// GetVersion returns the major and minor version of apparmor_parser.
16+
//
17+
// Deprecated: no longer used, and will be removed in the next release.
1618
func GetVersion() (int, error) {
1719
output, err := cmd("", "--version")
1820
if err != nil {

0 commit comments

Comments
 (0)