Skip to content

Commit f6f9607

Browse files
committed
cli/command/image/build: remove deprecated ResolveAndValidateContextPath util
It was deprecated in 0f2f9e9 Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent bc443e6 commit f6f9607

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

cli/command/image/build/context.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -272,17 +272,6 @@ func GetContextFromLocalDir(localDir, dockerfileName string) (string, string, er
272272
return localDir, relDockerfile, err
273273
}
274274

275-
// ResolveAndValidateContextPath uses the given context directory for a `docker build`
276-
// and returns the absolute path to the context directory.
277-
//
278-
// Deprecated: this utility was used internally and will be removed in the next
279-
// release. Use [DetectContextType] to detect the context-type, and use
280-
// [GetContextFromLocalDir], [GetContextFromLocalDir], [GetContextFromGitURL],
281-
// or [GetContextFromURL] instead.
282-
func ResolveAndValidateContextPath(givenContextDir string) (string, error) {
283-
return resolveAndValidateContextPath(givenContextDir)
284-
}
285-
286275
// resolveAndValidateContextPath uses the given context directory for a `docker build`
287276
// and returns the absolute path to the context directory.
288277
func resolveAndValidateContextPath(givenContextDir string) (string, error) {

0 commit comments

Comments
 (0)