Skip to content

Commit c3be841

Browse files
author
Shiva Sharan Yadav GOKUL
committed
Splunk - plugin improvements
Signed-off-by: Shiva Sharan Yadav GOKUL <shivasharanyadav.gokul@amadeus.com>
1 parent a051d29 commit c3be841

5 files changed

Lines changed: 22 additions & 5 deletions

File tree

package-lock.json

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

splunk/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"dependencies": {},
2727
"peerDependencies": {
2828
"@perses-dev/components": "^0.53.1",
29-
"@perses-dev/core": "^0.53.1",
29+
"@perses-dev/core": "^0.53.0",
3030
"@perses-dev/plugin-system": "^0.53.1",
3131
"immer": "^10.1.1",
3232
"react": "^17.0.2 || ^18.0.0"
@@ -71,4 +71,4 @@
7171
}
7272
]
7373
}
74-
}
74+
}

splunk/src/index-federation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
// See the License for the specific language governing permissions and
1212
// limitations under the License.
1313

14-
export default () => import('./bootstrap');
14+
import('./bootstrap');

splunk/src/queries/splunk-log-query/SplunkLogQueryEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function SplunkLogQueryEditor(props: SplunkLogQueryEditorProps): ReactEle
4747
throw new Error('Got unexpected non SplunkQuery datasource selection');
4848
};
4949

50-
const handleQueryChange = (newQuery: string) => {
50+
const handleQueryChange = (newQuery: string): void => {
5151
onChange(
5252
produce(value, (draft) => {
5353
draft.query = newQuery;

splunk/src/queries/splunk-time-series-query/SplunkTimeSeriesQueryEditor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export function SplunkTimeSeriesQueryEditor(props: SplunkQueryEditorProps): Reac
4747
throw new Error('Got unexpected non SplunkQuery datasource selection');
4848
};
4949

50-
const handleQueryChange = (newQuery: string) => {
50+
const handleQueryChange = (newQuery: string): void => {
5151
onChange(
5252
produce(value, (draft) => {
5353
draft.query = newQuery;

0 commit comments

Comments
 (0)