src: Resolve problems ater updating API
'centos-8' was dropped from Distributions, causing a few problems. This resolves them.
This commit is contained in:
parent
434c90a6b8
commit
9a1d348a77
4 changed files with 9 additions and 3 deletions
|
|
@ -132,7 +132,7 @@ const getLatestRelease = (distribution: Distributions) => {
|
|||
? RHEL_9
|
||||
: distribution.startsWith('rhel-8')
|
||||
? RHEL_8
|
||||
: distribution === 'centos-8'
|
||||
: distribution === ('centos-8' as Distributions)
|
||||
? CENTOS_9
|
||||
: distribution;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue