Skip to content

Commit af15501

Browse files
committed
fix(vlab): make lldp inspect informational for now
Signed-off-by: Sergei Lukianov <[email protected]>
1 parent 82b7947 commit af15501

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

pkg/hhfab/testing.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,8 +2253,10 @@ func (c *Config) Inspect(ctx context.Context, vlab *VLAB, opts InspectOpts) erro
22532253
slog.Error("Failed to inspect LLDP", "err", lldpErr)
22542254
fail = true
22552255
} else if renderErr := inspect.Render(time.Now(), inspect.OutputTypeText, os.Stdout, lldpIn, lldpOut); renderErr != nil {
2256-
slog.Error("Inspecting LLDP reveals some errors", "err", renderErr)
2257-
fail = true
2256+
slog.Warn("Inspecting LLDP reveals some errors", "err", renderErr)
2257+
2258+
// LLDP seems to be not very stable lately, so don't fail on errors from it
2259+
// fail = true
22582260
}
22592261

22602262
bgpIn := inspect.BGPIn{

0 commit comments

Comments
 (0)