fix: replace log with slog
Some checks failed
CI / build (push) Failing after 4m25s
CI / lint (push) Failing after 3m33s
CI / pkl-validate (push) Successful in 12s
CI / integration-tests (push) Has been skipped
CI / conformance-tests (latest) (push) Has been skipped

This commit is contained in:
2026-02-11 21:22:02 +01:00
parent 638e9f42d5
commit 6fd95c24fb
3 changed files with 32 additions and 17 deletions

View File

@@ -3,10 +3,9 @@ package main
import (
"context"
"encoding/json"
"log"
"log/slog"
"net/http"
"strconv"
"strings"
"testing"
"time"
@@ -170,7 +169,7 @@ func TestList(t *testing.T) {
})
require.NoError(t, err, "ListRequest should not return an error")
log.Printf("Received Ids: %s", strings.Join(result.NativeIDs, ", "))
slog.Info("Received Ids", "ids", result.NativeIDs)
require.Contains(t, result.NativeIDs, "200", "List should include created LXC")
}