Skip to content

Commit

Permalink
Fix issue in cache when not running, fix winget
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasjackson committed Sep 18, 2023
1 parent 61a2451 commit fb2fdf3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build_and_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ jobs:
user: "jumppad"
package: "jumppad"
version: ${{ needs.tag.outputs.new_version }}
url: "https://github.com/jumppad-labs/jumppad/releases/download/v${{ needs.tag.outputs.new_version }}/jumppad_${{ needs.tag.outputs.new_version }}_windows_x86_64.zip"
url: "https://github.com/jumppad-labs/jumppad/releases/download/v${{ needs.tag.outputs.new_version }}/jumppad_${{ needs.tag.outputs.new_version }}_windows_x86_64.zip|x86"
token: '${{ secrets.GH_TOKEN }}'

- name: Send status to Discord
Expand Down
5 changes: 5 additions & 0 deletions pkg/config/resources/cache/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,11 @@ func (p *Provider) reConfigureNetworks(dependentNetworks []string) error {
return err
}

// cache not running
if len(ids) == 0 {
return nil
}

// get a list of the current networks the container is attached to
info, err := p.client.ContainerInfo(ids[0])
if err != nil {
Expand Down

0 comments on commit fb2fdf3

Please sign in to comment.