Skip to content

Return a Result<void> from WriteFsConfig#2242

Open
Databean wants to merge 1 commit intogoogle:mainfrom
Databean:write_fs_config
Open

Return a Result<void> from WriteFsConfig#2242
Databean wants to merge 1 commit intogoogle:mainfrom
Databean:write_fs_config

Conversation

@Databean
Copy link
Member

This returned a Result<bool> but it was unclear what the semantic difference was between Success(false) and Error return values. Additionally, the single caller only checked for Error returns but the implementation could only return Success(false) so errors would be dropped silently.

Bug: b/491259898

This returned a `Result<bool>` but it was unclear what the semantic
difference was between Success(false) and Error return values.
Additionally, the single caller only checked for Error returns but the
implementation could only return Success(false) so errors would be
dropped silently.

Bug: b/491259898
@Databean Databean requested a review from 3405691582 March 10, 2026 02:06
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.

2 participants