Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: pass platform from env variable or fall back to use old logic #1252

Draft
wants to merge 1 commit into
base: incubation
Choose a base branch
from

Commits on Sep 20, 2024

  1. feat: pass platform from env variable or fall back to use old logic

    - introduce new env var ODH_PLATFORM_TYPE set during buildtime
    - rename old function GetPlatform() to DetectPlatform()
    - create new GetPlatform to check env first or fall to call DetectPlatform()
    
    Signed-off-by: Wen Zhou <[email protected]>
    zdtsw committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    d634965 View commit details
    Browse the repository at this point in the history