Skip to content

Commit

Permalink
activatecred fix reported error string
Browse files Browse the repository at this point in the history
Signed-off-by: Shahriyar Jalayeri <[email protected]>
  • Loading branch information
shjala authored and eriknordmark committed Aug 8, 2024
1 parent bc6d9a4 commit 46c0ac0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/pillar/cmd/msrv/activatecred.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func activateCredential(jsonData []byte) ([]byte, []byte, error) {
tpm2.AlgNull,
tpm2.AlgSHA256)
if err != nil {
return nil, nil, fmt.Errorf("faild to start auth session: %w", err)
return nil, nil, fmt.Errorf("failed to start auth session: %w", err)
}

// set the auth session policy, this is equal to empty password, but needed anyways.
Expand Down

0 comments on commit 46c0ac0

Please sign in to comment.