Skip to content

Commit a5c3a8e

Browse files
committed
Fix bff errors
Signed-off-by: Mike Turley <[email protected]>
1 parent b06346e commit a5c3a8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

clients/ui/bff/internal/mocks/model_catalog_client_mock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ func (m *ModelCatalogClientMock) CreateCatalogSourcePreview(client httpclient.HT
222222

223223
pageSize := 20
224224
if ps := pageValues.Get("pageSize"); ps != "" {
225-
fmt.Sscanf(ps, "%d", &pageSize)
225+
_, _ = fmt.Sscanf(ps, "%d", &pageSize)
226226
}
227227

228228
nextPageToken := pageValues.Get("nextPageToken")

clients/ui/bff/internal/mocks/static_data_mock.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1532,7 +1532,7 @@ func CreateCatalogSourcePreviewMockWithFilter(filterStatus string, pageSize int,
15321532
startIndex := 0
15331533
if nextPageToken != "" {
15341534
// Parse token as start index (simple mock implementation)
1535-
fmt.Sscanf(nextPageToken, "%d", &startIndex)
1535+
_, _ = fmt.Sscanf(nextPageToken, "%d", &startIndex)
15361536
}
15371537

15381538
if pageSize <= 0 {

0 commit comments

Comments
 (0)