mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
package logs rpc endpoint (#427)
* wip: package logs * fixes from code review * fix reverse flag behavior * only embassyd uses -u, packages use CONTAINER_NAME * make id param an enum, clean up code * changes from rebase * change package IDs to be of type PackageId Co-authored-by: Aiden McClelland <me@drbonez.dev>
This commit is contained in:
committed by
Aiden McClelland
parent
4be36f5968
commit
ee381ebce7
@@ -52,6 +52,7 @@ pub enum ErrorKind {
|
||||
ParseTimestamp = 44,
|
||||
ParseSysInfo = 45,
|
||||
WifiError = 46,
|
||||
Journald = 47,
|
||||
}
|
||||
impl ErrorKind {
|
||||
pub fn as_str(&self) -> &'static str {
|
||||
@@ -103,6 +104,7 @@ impl ErrorKind {
|
||||
ParseTimestamp => "Timestamp Parsing Error",
|
||||
ParseSysInfo => "System Info Parsing Error",
|
||||
WifiError => "Wifi Internal Error",
|
||||
Journald => "Journald Error",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user