File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -63,15 +63,16 @@ func (dp *DataPlane) initializeDataPlane() error {
6363 filterMap := map [string ]uint16 {"State" : hcnEndpointStateAttachedSharing }
6464 filter , err := json .Marshal (filterMap )
6565 if err != nil {
66- return errors .Wrap (err , "failed to marshal endpoint filter map" )
66+ return errors .Wrap (err , "failed to marshal endpoint filter map for attachedsharing state " )
6767 }
6868 dp .endpointQuery .query .Filter = string (filter )
6969
70+ // Filter out any endpoints that are not in "Attached" State. All running Windows L1VH pods with networking must be in this state.
7071 if dp .EnableNPMLite {
7172 filterMapL1VH := map [string ]uint16 {"State" : hcnEndpointStateAttached }
7273 filterL1VH , err := json .Marshal (filterMapL1VH )
7374 if err != nil {
74- return errors .Wrap (err , "failed to marshal endpoint filter map" )
75+ return errors .Wrap (err , "failed to marshal endpoint filter map for attched state on L1VH Node " )
7576 }
7677 dp .endpointQueryL1VH .query .Filter = string (filterL1VH )
7778 }
You can’t perform that action at this time.
0 commit comments