Skip to content

Commit

Permalink
feat(aws): allow override of scaling policies section (#6584)
Browse files Browse the repository at this point in the history
  • Loading branch information
anotherchrisberry authored Feb 20, 2019
1 parent cabc667 commit 4f1c5c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from 'react';

import { CollapsibleSection, Tooltip } from '@spinnaker/core';
import { CollapsibleSection, Overridable, Tooltip } from '@spinnaker/core';

import { IScalingProcess } from 'amazon/domain';
import { AwsNgReact } from 'amazon/reactShims';
Expand All @@ -13,6 +13,7 @@ export interface IScalingPoliciesDetailsSectionState {
scalingPoliciesDisabled: boolean;
}

@Overridable('aws.serverGroup.ScalingPoliciesDetailsSection')
export class ScalingPoliciesDetailsSection extends React.Component<
IAmazonServerGroupDetailsSectionProps,
IScalingPoliciesDetailsSectionState
Expand Down
1 change: 1 addition & 0 deletions app/scripts/modules/amazon/src/serverGroup/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ export * from './configure';
export * from './details/scalingPolicy/ScalingPolicyTypeRegistry';
export * from './details/scalingPolicy/ScalingPolicyWriter';
export * from './details/scalingPolicy/upsert/PolicyTypeSelectionModal';
export * from './details/scalingPolicy/CreateScalingPolicyButton';
export * from './details/sections';

0 comments on commit 4f1c5c3

Please sign in to comment.