Skip to content

Commit be48536

Browse files
committed
fix! Add license headers and cleanup lint issues
1 parent 8f0a524 commit be48536

File tree

5 files changed

+65
-5
lines changed

5 files changed

+65
-5
lines changed

src/openshift/components/CryostatController.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ class CryostatControllerComponent extends React.Component<CryostatControllerProp
6464
}
6565
};
6666

67-
private isDashboardRoute = (href: string): Boolean => {
67+
private isDashboardRoute = (href: string): boolean => {
6868
return href.endsWith('/cryostat') || href.endsWith('/cryostat/') || href.includes('d-solo');
6969
};
7070

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright The Cryostat Authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
import React from 'react';
217
import '@app/app.css';
318
import { CryostatContainer } from '@console-plugin/components/CryostatContainer';
@@ -6,7 +21,7 @@ import CreateRecording from '@app/CreateRecording/CreateRecording';
621
export default function CreateRecordingPage() {
722
return (
823
<CryostatContainer>
9-
<CreateRecording/>
24+
<CreateRecording />
1025
</CryostatContainer>
1126
);
1227
}
Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright The Cryostat Authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
import React from 'react';
217
import '@app/app.css';
318
import { CryostatContainer } from '@console-plugin/components/CryostatContainer';
@@ -6,7 +21,7 @@ import CreateRule from '@app/Rules/CreateRule';
621
export default function CreateRulesPage() {
722
return (
823
<CryostatContainer>
9-
<CreateRule></CreateRule>
24+
<CreateRule />
1025
</CryostatContainer>
1126
);
1227
}
Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright The Cryostat Authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
import React from 'react';
217
import '@app/app.css';
318
import { CryostatContainer } from '@console-plugin/components/CryostatContainer';
@@ -6,7 +21,7 @@ import CreateTarget from '@app/Topology/Actions/CreateTarget';
621
export default function CreateTargetPage() {
722
return (
823
<CryostatContainer>
9-
<CreateTarget/>
24+
<CreateTarget />
1025
</CryostatContainer>
1126
);
1227
}
Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
/*
2+
* Copyright The Cryostat Authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
116
import React from 'react';
217
import '@app/app.css';
318
import { CryostatContainer } from '@console-plugin/components/CryostatContainer';
@@ -6,7 +21,7 @@ import DashboardSolo from '@app/Dashboard/DashboardSolo';
621
export default function DashboardSoloPage() {
722
return (
823
<CryostatContainer>
9-
<DashboardSolo/>
24+
<DashboardSolo />
1025
</CryostatContainer>
1126
);
1227
}

0 commit comments

Comments
 (0)