Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
carchi8py committed Dec 12, 2023
1 parent 3118c69 commit b731809
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/interfaces/security_account.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ type SecurityAccountDataSourceFilterModel struct {
Owner *SecurityAccountOwner `mapstructure:"owner,omitempty"`
}

// GetSecurityAccountByName gets a security account by name.
func GetSecurityAccountByName(errorHandler *utils.ErrorHandler, r restclient.RestClient, name string, ownerName string) (*SecurityAccountGetDataModelONTAP, error) {
query := r.NewQuery()
query.Fields([]string{"name", "owner", "locked", "comment", "role", "scope", "applications"})
Expand All @@ -70,6 +71,7 @@ func GetSecurityAccountByName(errorHandler *utils.ErrorHandler, r restclient.Res
return dataOntap, nil
}

// GetSecurityAccounts gets all security accounts.
func GetSecurityAccounts(errorHandler *utils.ErrorHandler, r restclient.RestClient, svnName string, name string) ([]SecurityAccountGetDataModelONTAP, error) {
query := r.NewQuery()
query.Fields([]string{"name", "owner", "locked", "comment", "role", "scope", "applications"})
Expand Down

0 comments on commit b731809

Please sign in to comment.