Skip to content

Commit

Permalink
fix(core): fix linting (#4996)
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Bloch-Wehba-Seaward committed Mar 14, 2018
1 parent 7923da7 commit 6931012
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/scripts/modules/core/src/config/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ SETTINGS.feature = SETTINGS.feature || {};
SETTINGS.analytics = SETTINGS.analytics || {};
SETTINGS.providers = SETTINGS.providers || {};
SETTINGS.defaultTimeZone = SETTINGS.defaultTimeZone || 'America/Los_Angeles';
SETTINGS.dockerInsights = SETTINGS.dockerInsights || {enabled:false, url:''};
SETTINGS.dockerInsights = SETTINGS.dockerInsights || { enabled: false, url: '' };

// A helper to make resetting settings to steady state after running tests easier
const originalSettings: ISpinnakerSettings = cloneDeep(SETTINGS);
Expand Down
2 changes: 1 addition & 1 deletion app/scripts/modules/core/src/serverGroup/ServerGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class ServerGroup extends React.Component<IServerGroupProps, IServerGroup
number: jenkinsConfig.number,
href: fromBuildInfo || fromFullUrl || fromHost,
};
} else if(SETTINGS.dockerInsights.enabled && dockerConfig){
} else if (SETTINGS.dockerInsights.enabled && dockerConfig) {
docker = {
tag: dockerConfig.tag,
image: dockerConfig.image,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class CloudProviderIcon extends React.Component<IServerGroupHeaderProps>

export class SequenceAndBuildAndImages extends React.Component<IServerGroupHeaderProps> {
public render() {
const { serverGroup, jenkins, images, docker} = this.props;
const { serverGroup, jenkins, images, docker } = this.props;
const serverGroupSequence = ReactInjector.namingService.getSequence(serverGroup.moniker.sequence);
return (
<div>
Expand Down

0 comments on commit 6931012

Please sign in to comment.