Skip to content

Commit a9a838b

Browse files
authored
Use the verbose on @info in fetch_all_apis_versions (#62)
1 parent fc1f428 commit a9a838b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/helpers.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ function fetch_all_apis_versions(ctx::KuberContext; override=nothing, verbose::B
342342
push!(supported, pref_vers_version)
343343
catch ex
344344
if isa(ex, KeyError)
345-
@info("unsupported $pref_vers")
345+
verbose && @info("unsupported $pref_vers")
346346
continue
347347
else
348348
rethrow()
@@ -365,7 +365,7 @@ function fetch_all_apis_versions(ctx::KuberContext; override=nothing, verbose::B
365365
push!(supported, api_vers.version)
366366
end
367367
catch
368-
@info("unsupported $(group_version)")
368+
verbose && @info("unsupported $(group_version)")
369369
end
370370
end
371371

0 commit comments

Comments
 (0)