Skip to content

Commit

Permalink
remove ipmi_/mc.py from public api (#15708)
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo authored Feb 15, 2025
1 parent ca85a02 commit 3638ef8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/middlewared/middlewared/plugins/ipmi_/mc.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
from subprocess import run

from middlewared.service import Service
from middlewared.schema import accepts, returns, Dict


class IpmiMcService(Service):

class Config:
namespace = 'ipmi.mc'
private = True
cli_namespace = 'service.ipmi.mc'

@accepts(roles=['IPMI_READ'])
@returns(Dict('mc_info', additional_attrs=True))
def info(self):
"""Return looks like:
{
Expand Down

0 comments on commit 3638ef8

Please sign in to comment.