Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add create space method for dashboard #95

Merged
merged 2 commits into from
Apr 19, 2024
Merged

Add create space method for dashboard #95

merged 2 commits into from
Apr 19, 2024

Conversation

ishtiaqhimel
Copy link
Member

No description provided.

Signed-off-by: Md. Ishtiaq Islam <[email protected]>
Copy link
Contributor

@raihankhan raihankhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we keep this map in a constant and re-use everywhere? May be name it jsonHeaderForKibanaAPI

map[string]string{
"Content-Type": "application/json",
"kbn-xsrf":     "true",
}

elasticsearchdashboard/ed_client_v8.go Outdated Show resolved Hide resolved
Signed-off-by: Md. Ishtiaq Islam <[email protected]>
Copy link
Contributor

@raihankhan raihankhan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@raihankhan raihankhan merged commit f4fab3d into master Apr 19, 2024
5 checks passed
@raihankhan raihankhan deleted the create-space branch April 19, 2024 06:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants