File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
pkg/datagatherer/versionchecker Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -125,7 +125,11 @@ registries:
125125// pods, then check the found images using version checker. Version checker
126126// will call the same version checker to get image tag data
127127func TestVersionCheckerFetch (t * testing.T ) {
128- // server to handle requests made my version checker and k8s dynamic dg
128+ // server to handle requests made by version checker and k8s dynamic dg.
129+ //
130+ // since we do not support injecting a fake client as a dependency to the
131+ // version checker datagatherer we are instead using an httptest
132+ // LocalServer to mock requests from a real dynamic client
129133 localServer := createLocalTestServer (t )
130134
131135 // parse the URL of the server to generate the KubeConfig file
You can’t perform that action at this time.
0 commit comments