mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-05-11 09:55:19 +00:00
Fix syntax and don't hide error
Signed-off-by: Dimitris Karakasilis <dimitris@karakasilis.me>
This commit is contained in:
parent
48c445756e
commit
f2ec19d53d
@ -197,7 +197,7 @@ var _ = Describe("RunInstall", func() {
|
||||
|
||||
It("runs the install", func() {
|
||||
Skip("Not ready yet")
|
||||
err = RunInstall(options, "") // TODO
|
||||
err = RunInstall(options)
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
})
|
||||
})
|
||||
|
@ -199,7 +199,7 @@ func NewUpgradeSpec(cfg *Config) (*v1.UpgradeSpec, error) {
|
||||
|
||||
squashedRec, err := hasSquashedRecovery(cfg, ep.Recovery)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed checking for squashed recovery")
|
||||
return nil, fmt.Errorf("failed checking for squashed recovery: %w", err)
|
||||
}
|
||||
|
||||
if squashedRec {
|
||||
|
Loading…
Reference in New Issue
Block a user