From a002c3298bb635866b2ba298e6d52ffb94a0d16e Mon Sep 17 00:00:00 2001 From: Arthur Pitman Date: Fri, 10 Jan 2025 12:04:45 +0100 Subject: [PATCH] fix: Fix typos in error messages --- pkg/persistence/account/loader/load.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/persistence/account/loader/load.go b/pkg/persistence/account/loader/load.go index c977008d1..eaac44e8c 100644 --- a/pkg/persistence/account/loader/load.go +++ b/pkg/persistence/account/loader/load.go @@ -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