Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
mjh1 committed Feb 5, 2025
1 parent 618a30c commit bb42c3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
- name: Upload artifacts for cutting release
uses: actions/upload-artifact@v4
with:
name: release-artifacts
name: release-artifacts-${{ matrix.platform.name }}-${{ matrix.arch }}
path: releases/

upload:
Expand All @@ -107,10 +107,11 @@ jobs:
- build
steps:
- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: release-artifacts
pattern: release-artifacts-*
path: releases/
merge-multiple: true

- name: Generate sha256 checksum and gpg signatures for release artifacts
uses: livepeer/action-gh-checksum-and-gpg-sign@latest
Expand Down
2 changes: 1 addition & 1 deletion balancer/catabalancer/sysstats.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func GetBandwidthUsage() (float64, error) {

// Parse json output
var data BandwidthData
err = json.Unmarshal([]byte(output), &data)
err = json.Unmarshal(output, &data)
if err != nil {
return -1, err
}
Expand Down

0 comments on commit bb42c3a

Please sign in to comment.