Skip to content

Commit

Permalink
fix: added missing red hat linux definition
Browse files Browse the repository at this point in the history
  • Loading branch information
hoonoh committed Oct 15, 2019
1 parent ba08b43 commit c34f4c8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@ import { defaultRegions, Region, regionNames } from './regions';

export enum ProductDescription {
'Linux/UNIX' = 'Linux/UNIX',
'SUSE Linux' = 'SUSE Linux',
'Windows' = 'Windows',
'Linux/UNIX (Amazon VPC)' = 'Linux/UNIX (Amazon VPC)',
'SUSE Linux' = 'SUSE Linux',
'SUSE Linux (Amazon VPC)' = 'SUSE Linux (Amazon VPC)',
'Red Hat Enterprise Linux' = 'Red Hat Enterprise Linux',
'Red Hat Enterprise Linux (Amazon VPC)' = 'Red Hat Enterprise Linux (Amazon VPC)',
'Windows' = 'Windows',
'Windows (Amazon VPC)' = 'Windows (Amazon VPC)',
'linux' = 'linux', // wildcard
'windows' = 'windows', // wildcard
Expand Down Expand Up @@ -116,6 +118,8 @@ export const getGlobalSpotPrices = async (
ProductDescription['Linux/UNIX (Amazon VPC)'],
ProductDescription['SUSE Linux'],
ProductDescription['SUSE Linux (Amazon VPC)'],
ProductDescription['Red Hat Enterprise Linux'],
ProductDescription['Red Hat Enterprise Linux (Amazon VPC)'],
];
}

Expand Down

0 comments on commit c34f4c8

Please sign in to comment.