Skip to content

Commit 6d1ff80

Browse files
authored
Merge pull request #465 from docker/support-ignore-target-platform-action
Support ignoring InvalidBaseImagePlatform with a code action
2 parents 010a5d4 + 3a9f115 commit 6d1ff80

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ All notable changes to the Docker Language Server will be documented in this fil
44

55
## [Unreleased]
66

7+
### Added
8+
9+
- Dockerfile
10+
- textDocument/codeAction
11+
- `InvalidBaseImagePlatform` warnings can now be ignored with a code action ([#464](https://github.com/docker/docker-language-server/issues/464))
12+
713
### Fixed
814

915
- Compose

internal/pkg/buildkit/service.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ func createIgnoreEdit(ruleName string) *types.NamedEdit {
187187
fallthrough
188188
case "FromPlatformFlagConstDisallowed":
189189
fallthrough
190+
case "InvalidBaseImagePlatform":
191+
fallthrough
190192
case "InvalidDefaultArgInFrom":
191193
fallthrough
192194
case "InvalidDefinitionDescription":

0 commit comments

Comments
 (0)