mirror of
https://github.com/lingble/talos.git
synced 2025-11-15 21:45:07 +00:00
refactor: merge osd into machined
This merges `osd` API into `machined`. API was copied from `osd` into `machined`, and `osd` API was deprecated. For backwards compatibility, `machined` still implements `osd` API, so older Talos API clients can still talk to the node without changes. Docs were updated. No functional changes. Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
This commit is contained in:
committed by
talos-bot
parent
19343e5f1a
commit
cbb7ca8390
@@ -26,7 +26,7 @@ func (suite *ServicesSuite) SuiteName() string {
|
||||
func (suite *ServicesSuite) TestList() {
|
||||
suite.RunCLI([]string{"services"},
|
||||
base.StdoutShouldMatch(regexp.MustCompile(`STATE`)),
|
||||
base.StdoutShouldMatch(regexp.MustCompile(`osd`)),
|
||||
base.StdoutShouldMatch(regexp.MustCompile(`routerd`)),
|
||||
base.StdoutShouldMatch(regexp.MustCompile(`apid`)),
|
||||
)
|
||||
}
|
||||
@@ -39,9 +39,9 @@ func (suite *ServicesSuite) TestStatus() {
|
||||
base.StdoutShouldMatch(regexp.MustCompile(`\[Running\]`)),
|
||||
)
|
||||
|
||||
suite.RunCLI([]string{"service", "osd", "status"},
|
||||
suite.RunCLI([]string{"service", "routerd", "status"},
|
||||
base.StdoutShouldMatch(regexp.MustCompile(`STATE`)),
|
||||
base.StdoutShouldMatch(regexp.MustCompile(`osd`)),
|
||||
base.StdoutShouldMatch(regexp.MustCompile(`routerd`)),
|
||||
base.StdoutShouldMatch(regexp.MustCompile(`\[Running\]`)),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user