fix: recover managed edge despite stale existing input
This commit is contained in:
parent
5246b8107c
commit
bbb9c46ee8
|
|
@ -8040,7 +8040,6 @@ refresh_oci_edge_endpoint() {
|
|||
# exists. Recover only the exact managed identity: display name
|
||||
# homelab-edge plus managed_by=jeannie. Never adopt arbitrary jump boxes.
|
||||
if [[ -n "${LAB_OCI_TENANCY_ID:-}" &&
|
||||
"${LAB_OCI_EDGE_EXISTING_INSTANCE_ID:-}" == "" &&
|
||||
"${LAB_OCI_EDGE_INSTANCE_MANAGED:-false}" != "true" ]] &&
|
||||
declare -F oci_cli_resolve >/dev/null 2>&1; then
|
||||
oci_bin="${oci_bin:-$(oci_cli_resolve 2>/dev/null || true)}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue