Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
/vulcanizerPublic archive

Commitbf45fdc

Browse files
committed
fix: linting
1 parent3eaed8f commitbf45fdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎es.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,15 +1187,15 @@ func (c *Client) SnapshotAllIndicesWithBodyParams(repository string, snapshot st
11871187
returnerrors.New("no body params provided, please use SnapshotAllIndices Function instead")
11881188
}
11891189

1190-
parsedJson,parsingErr:=json.Marshal(bodyParams)
1190+
parsedJSON,parsingErr:=json.Marshal(bodyParams)
11911191

11921192
ifparsingErr!=nil {
11931193
returnparsingErr
11941194
}
11951195

11961196
agent:=c.buildPutRequest(fmt.Sprintf("_snapshot/%s/%s",repository,snapshot)).
11971197
Set("Content-Type","application/json").
1198-
Send(string(parsedJson))
1198+
Send(string(parsedJSON))
11991199

12001200
_,err:=handleErrWithBytes(agent)
12011201

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp