Skip to content

Commit

Permalink
cloud trial check
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed Nov 14, 2022
1 parent eaa1b74 commit 92ee445
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import type { Observable } from 'rxjs';
import type { CoreTheme, OverlayStart } from '@kbn/core/public';
import { css } from '@emotion/react';
import { numberValidator } from '@kbn/ml-agg-utils';
import { isCloudTrial } from '../../services/ml_server_info';
import { composeValidators, requiredValidator } from '../../../../common/util/validators';

interface DeploymentSetupProps {
Expand Down Expand Up @@ -263,7 +264,7 @@ export const StartUpdateDeploymentModal: FC<StartDeploymentModalProps> = ({
initialParams ?? {
numOfAllocations: 1,
threadsPerAllocations: 1,
priority: 'low',
priority: isCloudTrial() ? 'low' : 'normal',
}
);

Expand Down

0 comments on commit 92ee445

Please sign in to comment.