Browse Source

Merge pull request #45496 from thaJeztah/pkg_aaparser_deprecate_version

pkg/aaparser: deprecate GetVersion, as it's no longer used
Sebastiaan van Stijn 2 năm trước cách đây
mục cha
commit
563fc92dd4
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      pkg/aaparser/aaparser.go

+ 2 - 0
pkg/aaparser/aaparser.go

@@ -13,6 +13,8 @@ const (
 )
 
 // GetVersion returns the major and minor version of apparmor_parser.
+//
+// Deprecated: no longer used, and will be removed in the next release.
 func GetVersion() (int, error) {
 	output, err := cmd("", "--version")
 	if err != nil {