Skip to content

fix: remove extra call from svm template#4165

Merged
cgrinds merged 2 commits intomainfrom
rg2-fix-svm
Feb 25, 2026
Merged

fix: remove extra call from svm template#4165
cgrinds merged 2 commits intomainfrom
rg2-fix-svm

Conversation

@rahulguptajss
Copy link
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 25, 2026 11:55
@cla-bot cla-bot bot added the cla-signed label Feb 25, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes the redundant NFS service endpoint call from the SVM REST template by sourcing the NFS enabled state directly from the SVM payload, reducing REST calls while keeping the exported metric name consistent.

Changes:

  • Derive nfs_protocol_enabled from api/svm/svms (nfs.enabled) instead of querying api/protocols/nfs/services.
  • Remove the api/protocols/nfs/services endpoint stanza from the SVM templates for 9.9.0 and 9.10.0.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
conf/rest/9.9.0/svm.yaml Removes api/protocols/nfs/services endpoint and reads NFS enabled state from api/svm/svms.
conf/rest/9.10.0/svm.yaml Same as 9.9.0: drops extra NFS endpoint and maps nfs.enabled to nfs_protocol_enabled.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cgrinds cgrinds merged commit 1e2cbbb into main Feb 25, 2026
10 checks passed
@cgrinds cgrinds deleted the rg2-fix-svm branch February 25, 2026 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants