Skip to content

Commit

Permalink
fix issue with mycelium-ip
Browse files Browse the repository at this point in the history
  • Loading branch information
muhamadazmy committed Feb 26, 2024
1 parent 2981284 commit 364e04a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 14 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,17 +91,3 @@ jobs:
user: tf-zos
name: development
target: tf-autobuilder/${{ steps.tag.outputs.reference }}
# this is only here until devnet is updated for the first
# time then this can be safely deleted
# compatibility with old release
# this is needed so old machines that is already running on devnet
# gets the new code to be able to use the new release tag
- name: Crosslink flist (development)
if: success() && github.ref == 'refs/heads/main'
uses: threefoldtech/publish-flist@master
with:
token: ${{ secrets.HUB_JWT }}
action: crosslink
user: tf-zos
name: zos:development-3:latest.flist
target: tf-autobuilder/zos:${{ steps.version.outputs.version }}.flist
2 changes: 2 additions & 0 deletions pkg/gridtypes/zos/zmachine.go
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,7 @@ func (r *ZMachineResult) UnmarshalJSON(data []byte) error {
IP string `json:"ip"`
YggIP string `json:"ygg_ip"`
PlanetaryIP string `json:"planetary_ip"`
MyceliumIP string `json:"mycelium_ip"`
ConsoleURL string `json:"console_url"`
}

Expand All @@ -375,6 +376,7 @@ func (r *ZMachineResult) UnmarshalJSON(data []byte) error {
if deprecated.YggIP != "" {
r.PlanetaryIP = deprecated.YggIP
}
r.MyceliumIP = deprecated.MyceliumIP
r.ConsoleURL = deprecated.ConsoleURL

return nil
Expand Down

0 comments on commit 364e04a

Please sign in to comment.