Skip to content

Commit

Permalink
chore: formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
spbsoluble committed Nov 1, 2023
1 parent 5109edc commit f1b7dbe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion api/store_container.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func (c *Client) GetStoreContainers() (*[]CertStoreContainer, error) {
}

var newResp []CertStoreContainer
for i, _ := range resp {
for i := range resp {
var newCont CertStoreContainer
mapResp, _ := resp[i].ToMap()
jsonData, _ := json.Marshal(mapResp)
Expand Down
4 changes: 2 additions & 2 deletions api/store_type.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func (c *Client) GetCertificateStoreTypeByName(name string) (*CertificateStoreTy
}

var newResp []CertificateStoreType
for i, _ := range resp {
for i := range resp {
var newCertType CertificateStoreType
mapResp, _ := resp[i].ToMap()
jsonData, _ := json.Marshal(mapResp)
Expand Down Expand Up @@ -128,7 +128,7 @@ func (c *Client) ListCertificateStoreTypes() (*[]CertificateStoreType, error) {
}

var newResp []CertificateStoreType
for i, _ := range resp {
for i := range resp {
var newCertType CertificateStoreType
mapResp, _ := resp[i].ToMap()
jsonData, _ := json.Marshal(mapResp)
Expand Down
2 changes: 1 addition & 1 deletion api/template.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func (c *Client) GetTemplates() ([]GetTemplateResponse, error) {
}

var newResp []GetTemplateResponse
for i, _ := range resp {
for i := range resp {
var newTemp GetTemplateResponse
mapResp, _ := resp[i].ToMap()
jsonData, _ := json.Marshal(mapResp)
Expand Down

0 comments on commit f1b7dbe

Please sign in to comment.