Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented May 6, 2024

Description

Changes the signature of Environment::get_identity_override() and IdentityManager::new() to be more idiomatic rust, using Option<&str> rather than &Option<String>.

The motivation is in consideration of another caller of IdentityManager::new(), which may pass None for the identity override.

How Has This Been Tested?

Refactor covered by e2e

@ghost ghost requested review from a team and chenyan-dfinity as code owners May 6, 2024 20:40
@ghost ghost enabled auto-merge (squash) May 6, 2024 20:41
@ghost ghost merged commit 0986008 into master May 7, 2024
@ghost ghost deleted the ens/refactor-get-identity-override branch May 7, 2024 00:24
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant