Skip to content

Commit

Permalink
feat(k8s): ManifestStatus can now be overridden (#7826)
Browse files Browse the repository at this point in the history
* feat(k8s): DeployStatus can now be overridden

* fix(k8s): fixed capitalization

* feat(k8s): Made ManifestStatus overrrideable

* revert(k8s): removed `Overridable` from DeployStatus

I'll make another PR later for DeployStatus once I figure out the tests
for it. ManifestStatus having it doesn't cause any issues for the tests
  • Loading branch information
Brandon Powell authored Feb 3, 2020
1 parent 73040c1 commit 9b25617
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { dump } from 'js-yaml';

import { CopyToClipboard, IManifest, ManifestYaml } from '@spinnaker/core';
import { CopyToClipboard, IManifest, ManifestYaml, Overridable } from '@spinnaker/core';

import { DeployManifestStatusPills } from './DeployStatusPills';
import { ManifestDetailsLink } from './ManifestDetailsLink';
Expand All @@ -14,6 +14,7 @@ export interface IManifestStatusProps {
stage: any;
}

@Overridable('kubernetes.v2.pipeline.stages.deployManifest.manifestStatus')
export class ManifestStatus extends React.Component<IManifestStatusProps> {
public render() {
const { manifest, stage } = this.props;
Expand Down

0 comments on commit 9b25617

Please sign in to comment.