A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/github/vulcanizer/commit/bf45fdcb54588d13d27ef73fd171f94da577e280 below:

linting · github/vulcanizer@bf45fdc · GitHub

This repository was archived by the owner on Apr 15, 2025. It is now read-only.

File tree Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+2

-2

lines changed Original file line number Diff line number Diff line change

@@ -1187,15 +1187,15 @@ func (c *Client) SnapshotAllIndicesWithBodyParams(repository string, snapshot st

1187 1187

return errors.New("no body params provided, please use SnapshotAllIndices Function instead")

1188 1188

}

1189 1189 1190 -

parsedJson, parsingErr := json.Marshal(bodyParams)

1190 +

parsedJSON, parsingErr := json.Marshal(bodyParams)

1191 1191 1192 1192

if parsingErr != nil {

1193 1193

return parsingErr

1194 1194

}

1195 1195 1196 1196

agent := c.buildPutRequest(fmt.Sprintf("_snapshot/%s/%s", repository, snapshot)).

1197 1197

Set("Content-Type", "application/json").

1198 -

Send(string(parsedJson))

1198 +

Send(string(parsedJSON))

1199 1199 1200 1200

_, err := handleErrWithBytes(agent)

1201 1201

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4