feat(client,simapp): inject keyring in autocli opts (#17351)

This commit is contained in:
Julien Robert
2023-08-14 14:08:04 +00:00
committed by GitHub
parent e60c583d28
commit bf92632a0e
26 changed files with 295 additions and 211 deletions
+1 -1
View File
@@ -78,7 +78,7 @@ func ReadFromClientConfig(ctx client.Context) (client.Context, error) {
keyring, err := client.NewKeyringFromBackend(ctx, conf.KeyringBackend)
if err != nil {
return ctx, fmt.Errorf("couldn't get key ring: %w", err)
return ctx, fmt.Errorf("couldn't get keyring: %w", err)
}
ctx = ctx.WithKeyring(keyring)