Skip to content

Commit 9d2816c

Browse files
committed
remove outdated "nolint" comments
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent eaba9ec commit 9d2816c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cli/command/formatter/container.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ func DisplayablePorts(ports []container.PortSummary) string {
350350
last uint16
351351
}
352352
groupMap := make(map[string]*portGroup)
353-
var result []string //nolint:prealloc
353+
var result []string
354354
var hostMappings []string
355355
var groupMapKeys []string
356356
sort.Slice(ports, func(i, j int) bool {

cli/command/service/update.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1333,7 +1333,7 @@ func updateNetworks(ctx context.Context, apiClient client.NetworkAPIClient, flag
13331333
}
13341334

13351335
existingNetworks := make(map[string]struct{})
1336-
var newNetworks []swarm.NetworkAttachmentConfig //nolint:prealloc
1336+
var newNetworks []swarm.NetworkAttachmentConfig
13371337
for _, nw := range specNetworks {
13381338
if _, exists := idsToRemove[nw.Target]; exists {
13391339
continue

0 commit comments

Comments
 (0)