mirror of
https://github.com/cirruslabs/orchard.git
synced 2026-09-30 03:51:43 +02:00
Add endpoint support (#478)
* Add endpoint support * Document endpoint network exposure
This commit is contained in:
@@ -332,6 +332,7 @@ func (controller *Controller) failVMsWithHostDirs() error {
|
||||
vm.Status = v1.VMStatusFailed
|
||||
vm.StatusMessage = "host directories are used, but host directory sharing is disabled"
|
||||
vm.RestartPolicy = v1.RestartPolicyNever
|
||||
vm.ObservedEndpoints = nil
|
||||
|
||||
if err := txn.SetVM(vm); err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user