kubernetes-sigs / kubernetes-sigs/cli-utils

chore: add unit test for InventoryClient: UpdateLabels

Open
#317 8 comments 0 reactions 0 assignees View on GitHub
lifecycle/frozen
Dominant language
Go
Stars
178
Forks
85
PR merge metrics
No merged PRs in 30d

Description

This function was added in #316, we need to add unit tests for it.

Contributor guide

Open the contributing guide

Research direction

Review the InventoryClient.UpdateLabels function and the implementation introduced in pull request #316, then locate the existing unit-test patterns in the repository. Add tests that exercise the function's relevant behavior and run the applicable Go unit-test command to confirm they pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.