fix(#977): add MANAGER_CONTAINER=h-root, migrate root container name
This commit is contained in:
parent
286a7c8fd3
commit
68cc433ac9
5 changed files with 115 additions and 29 deletions
|
|
@ -13,8 +13,6 @@ use std::path::{Path, PathBuf};
|
|||
|
||||
use anyhow::{Context, Result};
|
||||
|
||||
use crate::lifecycle::MANAGER_NAME;
|
||||
|
||||
const HOST_SOCKETS_PATH: &str = "/var/lib/hyperhive/agent-sockets.json";
|
||||
|
||||
/// Host-side parent directory holding per-agent socket subdirs. The
|
||||
|
|
@ -217,6 +215,7 @@ pub fn spawn_poll() {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::lifecycle::MANAGER_NAME;
|
||||
|
||||
#[test]
|
||||
fn socket_path_for_uses_subdir_layout() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue