Skip to content

Commit

Permalink
Fix error message of cniServer.Initialize (#5776)
Browse files Browse the repository at this point in the history
Signed-off-by: Quan Tian <[email protected]>
  • Loading branch information
tnqn authored Dec 7, 2023
1 parent 7c45c22 commit 627637c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/antrea-agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ func run(o *Options) error {

err = cniServer.Initialize(ovsBridgeClient, ofClient, ifaceStore, podUpdateChannel)
if err != nil {
return fmt.Errorf("error initializing CNI server with cniPodInfoStore cache: %v", err)
return fmt.Errorf("error initializing CNI server: %w", err)
}
} else {
listOptions := func(options *metav1.ListOptions) {
Expand Down

0 comments on commit 627637c

Please sign in to comment.