Merge pull request #45496 from thaJeztah/pkg_aaparser_deprecate_version
pkg/aaparser: deprecate GetVersion, as it's no longer used
This commit is contained in:
commit
563fc92dd4
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue