Skip to content

Commit

Permalink
Fix broken installation test
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
  • Loading branch information
mauromorales committed Mar 28, 2023
1 parent 7a3b82b commit 9811310
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/config/collector/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ func fetchRemoteConfig(url string) (*Config, error) {

if err != nil {
// TODO: improve logging
fmt.Println("could not fetch remote config: %w", err)
fmt.Println("WARNING: could not fetch remote config: %w", err)
return result, nil
}

Expand Down
2 changes: 1 addition & 1 deletion tests/install_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ users:
passwd: "kairos"
`, vm)
Expect(out).ToNot(ContainSubstring("kairos-agent.service: Failed with result"))
Expect(out).To(ContainSubstring("WARNING: Couldn't fetch config_url: could not merge configs"))
Expect(out).To(ContainSubstring("WARNING: Couldn't fetch config_url: https://thisurldoesntexist.org"))

Eventually(func() string {
out, err := vm.Sudo("kairos-agent state")
Expand Down

0 comments on commit 9811310

Please sign in to comment.