Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

23 new resource protocolscifsservices #160

Merged
merged 17 commits into from
Apr 2, 2024

Conversation

chuyich
Copy link
Contributor

@chuyich chuyich commented Mar 29, 2024

fix #23

@chuyich chuyich linked an issue Mar 29, 2024 that may be closed by this pull request
},
{
name = "clustercifs"
hostname = "10.193.73.189"
Copy link
Contributor

Choose a reason for hiding this comment

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

can you change the ip address


// UpdateCifsService to update protocols_cifs_service
func UpdateCifsService(errorHandler *utils.ErrorHandler, r restclient.RestClient, svmid string, force bool, body CifsServiceResourceBodyDataModelONTAP) error {
api := "protocols/cifs/services" + "/" + svmid
Copy link
Contributor

Choose a reason for hiding this comment

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

you could just do

"protocols/cifs/services/" + svmid

internal/provider/common.go Outdated Show resolved Hide resolved
internal/provider/protocols_cifs_service_resource.go Outdated Show resolved Hide resolved
internal/provider/protocols_cifs_service_resource.go Outdated Show resolved Hide resolved
@chuyich chuyich merged commit 07d248b into integration/main Apr 2, 2024
7 checks passed
@carchi8py carchi8py deleted the 23-new-resource-protocolscifsservices branch April 24, 2024 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[New Resource]: protocols/cifs/services
2 participants