Skip to content

Commit

Permalink
Remove unnecessary and incorrect example (#15236)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrimesix authored Dec 18, 2024
1 parent 9a007ab commit 58ec758
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions src/middlewared/middlewared/plugins/nfs.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,23 +341,6 @@ async def do_update(self, data):
INPUT: Enable/Disable
Default: Disable
.. examples(websocket)::
Update NFS Service Configuration to listen on 192.168.0.10 and use NFSv4
:::javascript
{
"id": "6841f242-840a-11e6-a437-00e04d680384",
"msg": "method",
"method": "pool.resilver.update",
"params": [{
"bindip": [
"192.168.0.10"
],
"protocols": ["NFSV3", "NFSV4"]
}]
}
"""
if 'protocols' in data:
if not data['protocols']:
Expand Down

0 comments on commit 58ec758

Please sign in to comment.