Skip to content

Commit 6d44fe7

Browse files
committed
fixup! Create additional NEGs based on subnets in Node Topology CR.
1 parent f1577ff commit 6d44fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/neg/syncers/transaction.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ func (s *transactionSyncer) ensureNetworkEndpointGroups() error {
469469
negName = s.namer.NonDefaultSubnetNEG(s.NegSyncerKey.Namespace, s.NegSyncerKey.Name, subnetConfig.Name, s.NegSyncerKey.PortTuple.Port)
470470
if s.customName {
471471
if len(s.NegSyncerKey.NegName) > negtypes.MaxDefaultSubnetNegNameLength {
472-
s.logger.Error(err, "Unable to create custom NEGs in non-default subnet", "customNegName", s.NegSyncerKey.Name)
472+
s.logger.Error(ErrCustomNEGNameTooLong, "Unable to create custom NEGs in non-default subnet", "customNegName", s.NegSyncerKey.Name)
473473
errList = append(errList, ErrCustomNEGNameTooLong)
474474
continue
475475
}

0 commit comments

Comments
 (0)