1
- /* eslint-disable no-console */
2
1
import React , { Fragment , ReactElement } from 'react' ;
3
2
import { Alert , AlertGroup , AlertVariant , Level , LevelItem } from '@patternfly/react-core' ;
4
3
import { global_warning_color_100 as warningColor } from '@patternfly/react-tokens/dist/js/global_warning_color_100' ;
@@ -277,16 +276,12 @@ export const HostValidationGroups = ({
277
276
< >
278
277
{ getKeys ( validationsInfo ) . map ( ( groupName ) => {
279
278
const validations = validationsInfo [ groupName ] || [ ] ;
280
- // eslint-disable-next-line no-console
281
- console . log ( validations ) ;
282
279
const pendingValidations = validations . filter (
283
280
( v ) => v . status === 'pending' && v . id !== 'ntp-synced' ,
284
281
) ;
285
282
const failedValidations = validations . filter (
286
283
( v ) => ( v . status === 'failure' || v . status === 'error' ) && v . id !== 'ntp-synced' ,
287
284
) ;
288
- console . log ( 'FAILED' ) ;
289
- console . log ( failedValidations ) ;
290
285
const softValidations = validations . filter (
291
286
( v ) => [ 'pending' , 'failure' , 'error' ] . includes ( v . status ) && v . id === 'ntp-synced' ,
292
287
) ;
@@ -311,7 +306,6 @@ export const HostValidationGroups = ({
311
306
</ >
312
307
) ;
313
308
} ;
314
- console . log ( getValidationGroupState ( ) ) ;
315
309
const groupLabel = hostValidationGroupLabels ( t ) [ groupName ] as string ;
316
310
return (
317
311
< Fragment key = { groupName } >
0 commit comments