Skip to content

Commit 2e263c2

Browse files
authored
Merge pull request #696 from oasisprotocol/matevz/fix/rofl-machine-show-crash
Fix `rofl machine show` crash if deployment not available
2 parents 64c9135 + 4e1366f commit 2e263c2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/rofl/machine/show.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func prettyPrintMachine(mCfg *machineCfg, out *machineShowOutput) {
128128
fmt.Printf("Proxy:\n")
129129
fmt.Printf(" Domain: %s\n", proxyDomain)
130130

131-
prettyPrintMachinePorts(mCfg.ExtraCfg, out.Machine.Deployment.AppID, out.Machine, proxyDomain)
131+
prettyPrintMachinePorts(mCfg.ExtraCfg, out.Replica.App, out.Machine, proxyDomain)
132132
}
133133
}
134134

0 commit comments

Comments
 (0)