Skip to content

Commit

Permalink
fix: Fix typos in error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurpitman committed Jan 10, 2025
1 parent d599a1f commit a344c2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/persistence/account/loader/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ import (
func Load(fs afero.Fs, rootPath string) (*account.Resources, error) {
persisted, err := load(fs, rootPath)
if err != nil {
return nil, fmt.Errorf("failed to load account managment resources from %q: %w", rootPath, err)
return nil, fmt.Errorf("failed to load account management resources from %q: %w", rootPath, err)
}

if err := validateReferences(persisted); err != nil {
return nil, fmt.Errorf("account managment resources from %q are invalid: %w", rootPath, err)
return nil, fmt.Errorf("account management resources from %q are invalid: %w", rootPath, err)
}

return transform(persisted), nil
Expand Down

0 comments on commit a344c2e

Please sign in to comment.