Merge: toast-mjxpchjl - Rename session gt-deacon-boot to fix prefix collision
This commit is contained in:
@@ -174,7 +174,7 @@ task nature matters.
|
|||||||
~/gt/deacon/dogs/boot/
|
~/gt/deacon/dogs/boot/
|
||||||
```
|
```
|
||||||
|
|
||||||
Session name: `gt-deacon-boot`
|
Session name: `gt-boot`
|
||||||
|
|
||||||
Created/maintained by `bd doctor`.
|
Created/maintained by `bd doctor`.
|
||||||
|
|
||||||
|
|||||||
@@ -16,7 +16,11 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// SessionName is the tmux session name for Boot.
|
// SessionName is the tmux session name for Boot.
|
||||||
const SessionName = "gt-deacon-boot"
|
// Note: We use "gt-boot" instead of "gt-deacon-boot" to avoid tmux prefix
|
||||||
|
// matching collisions. Tmux matches session names by prefix, so "gt-deacon-boot"
|
||||||
|
// would match when checking for "gt-deacon", causing HasSession("gt-deacon")
|
||||||
|
// to return true when only Boot is running.
|
||||||
|
const SessionName = "gt-boot"
|
||||||
|
|
||||||
// MarkerFileName is the file that indicates Boot is currently running.
|
// MarkerFileName is the file that indicates Boot is currently running.
|
||||||
const MarkerFileName = ".boot-running"
|
const MarkerFileName = ".boot-running"
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ Boot lifecycle:
|
|||||||
4. Boot exits (or handoffs in non-degraded mode)
|
4. Boot exits (or handoffs in non-degraded mode)
|
||||||
|
|
||||||
Location: ~/gt/deacon/dogs/boot/
|
Location: ~/gt/deacon/dogs/boot/
|
||||||
Session: gt-deacon-boot`,
|
Session: gt-boot`,
|
||||||
}
|
}
|
||||||
|
|
||||||
var bootStatusCmd = &cobra.Command{
|
var bootStatusCmd = &cobra.Command{
|
||||||
|
|||||||
Reference in New Issue
Block a user