Skip to content

Commit

Permalink
remove junk, add armv7
Browse files Browse the repository at this point in the history
Signed-off-by: ygelfand <[email protected]>
  • Loading branch information
ygelfand committed Feb 21, 2024
1 parent ae10f2f commit 023c35b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
context: .
build-args: |
"BUILD_VERSION=${{ steps.meta.outputs.version }}"
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down
1 change: 0 additions & 1 deletion internal/api/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ func NewApi(p *powerwall.PowerwallGateway, forceRefresh bool) *Api {
}

func (api *Api) Run(listen string) {
gin.LoggerWithWriter
router := gin.Default()
router.SetTrustedProxies(nil)
base := router.Group("/api")
Expand Down
1 change: 0 additions & 1 deletion internal/api/debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ func (app *Api) debugConfig(c *gin.Context) {
if app.forceRefresh || c.Query("refresh") == "true" {
app.powerwall.UpdateConfig()
}
c
c.JSON(200, app.powerwall.Config)
}

Expand Down

0 comments on commit 023c35b

Please sign in to comment.