Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
carchi8py committed Jan 2, 2024
1 parent 5028a05 commit 67d15ac
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion internal/interfaces/security_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ func GetSecurityAccountByName(errorHandler *utils.ErrorHandler, r restclient.Res
var response map[string]interface{}
var err error
if ownerName != "" {
query.Set("owner.name", ownerName)
statusCode, response, err = r.GetNilOrOneRecord("security/accounts/"+ownerName+"/"+name, query, nil)
if err != nil {
return nil, errorHandler.MakeAndReportError("Error occurred when getting security account", fmt.Sprintf("error on get security/account: %s", err))
Expand Down
7 changes: 0 additions & 7 deletions internal/provider/security_accounts_data_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ import (
"github.com/netapp/terraform-provider-netapp-ontap/internal/utils"
)

// TODO:
// copy this file to match you data source (should match internal/provider/security_account_data_source.go)
// replace SecurityAccounts with the name of the resource, following go conventions, eg IPInterfaces
// replace security_accounts with the name of the resource, for logging purposes, eg ip_interfaces
// make sure to create internal/interfaces/security_account.go too)
// delete these 5 lines

// Ensure provider defined types fully satisfy framework interfaces
var _ datasource.DataSource = &SecurityAccountsDataSource{}

Expand Down

0 comments on commit 67d15ac

Please sign in to comment.