fix: Honour machine-type from config file above the one coming from metadata server by gargnitingoogle · Pull Request #4083 · GoogleCloudPlatform/gcsfuse (original) (raw)

Summary of Changes

This pull request addresses a critical bug where the machine-type setting from the configuration file was not being respected, leading to unexpected behavior as it was being superseded by values from the metadata server. The changes introduce a robust precedence mechanism, ensuring that the machine-type is correctly identified first by CLI flags, then by the config file, and only then by the metadata server. This provides more predictable and controllable machine type identification for the application.

Highlights