Преглед изворни кода

default all output streams (#3313)

Feroze Mohideen пре 2 година
родитељ
комит
c57c41bcef

+ 1 - 0
dashboard/src/main/home/app-dashboard/expanded-app/logs/LogSection.tsx

@@ -146,6 +146,7 @@ const LogSection: React.FC<Props> = ({
       displayName: "Output Stream",
       displayName: "Output Stream",
       default: GenericLogFilter.getDefaultOption("output_stream"),
       default: GenericLogFilter.getDefaultOption("output_stream"),
       options: [
       options: [
+        GenericFilterOption.of('stdout', 'stdout'),
         GenericFilterOption.of("stderr", "stderr"),
         GenericFilterOption.of("stderr", "stderr"),
       ],
       ],
       setValue: (value: string) => {
       setValue: (value: string) => {

+ 1 - 1
dashboard/src/main/home/app-dashboard/expanded-app/logs/types.ts

@@ -60,7 +60,7 @@ export const GenericLogFilter = {
             case 'revision':
             case 'revision':
                 return GenericFilterOption.of('All', 'all');
                 return GenericFilterOption.of('All', 'all');
             case 'output_stream':
             case 'output_stream':
-                return GenericFilterOption.of('stdout', 'stdout');
+                return GenericFilterOption.of('All', 'all');
             case 'pod_name':
             case 'pod_name':
                 return GenericFilterOption.of('All', 'all');
                 return GenericFilterOption.of('All', 'all');
             default:
             default: