Skip to content

Commit

Permalink
Merge pull request #62926 from garethgreenaway/62914_remove_manufactu…
Browse files Browse the repository at this point in the history
…re_grain

Removing manufacture grain which has been deprecated
  • Loading branch information
garethgreenaway authored Oct 20, 2022
2 parents 75a6ffd + e5c2262 commit 9e9bf74
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions changelog/62914.deprecated
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Removing manufacture grain which has been deprecated.
2 changes: 0 additions & 2 deletions salt/grains/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -3180,8 +3180,6 @@ def _hw_data(osdata):
res = regex.search(data)
if res and len(res.groups()) >= 1:
grains["manufacturer"] = res.group(1).strip().replace("'", "")
# Remove manufacture in Sulfur: salt.utils.versions.warn_until("Sulfur")
grains["manufacture"] = grains["manufacturer"]
break

for regex in product_regexes:
Expand Down

0 comments on commit 9e9bf74

Please sign in to comment.