Skip to content

Conversation

@dongsupark
Copy link
Collaborator

As mount/OVF logic should be separate from get_username(), split it out into a new function get_environment().

Fixes #81

As mount/OVF logic should be separate from get_username(), split it out
into a new function get_environment().
@dongsupark dongsupark marked this pull request as ready for review May 23, 2024 14:05
As mount_parse_ovf_env is a helper for media module, it makes sense
to move the function to libazureinit/media.

To use inspect_err function, stable since 1.76, specify the minimum
Rust version of libazureinit to 1.76.0.
@dongsupark dongsupark force-pushed the decouple-mount-username branch from ec1a8f6 to a5319ef Compare May 30, 2024 10:10
Copy link
Member

@jeremycline jeremycline left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dongsupark dongsupark merged commit 001dce2 into Azure:main May 30, 2024
@dongsupark dongsupark deleted the decouple-mount-username branch May 30, 2024 15:29
dongsupark added a commit to dongsupark/azure-init that referenced this pull request Jun 26, 2024
Replace inspect_err with map_err, to lower the minimum Rust version from
1.76, which is apparently not wide-spread enough in other development
environments.

See also
Azure#84 (review).
dongsupark added a commit to dongsupark/azure-init that referenced this pull request Jun 26, 2024
Replace inspect_err with map_err, to remove requirement of the minimum Rust
version from 1.76, which is apparently not wide-spread enough in other
development environments.

See also
Azure#84 (review).
@jeremycline jeremycline mentioned this pull request Jun 26, 2024
dongsupark added a commit that referenced this pull request Jun 26, 2024
Replace `inspect_err` with `map_err`, to remove requirement of the minimum Rust
version from 1.76, which is apparently not wide-spread enough in other
development environments.

See also
#84 (review).
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.

[RFE] decouple mount/ovf logic out of get_username

2 participants