Skip to content

Commit

Permalink
fixup: suppress linter
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Vašek <[email protected]>
  • Loading branch information
matejvasek committed Feb 13, 2024
1 parent 6fca077 commit 395ae87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/builders/s2i/builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ func s2iScriptURL(ctx context.Context, cli DockerClient, image string) (string,
}
}

//nolint:staticcheck
if img.ContainerConfig != nil && img.ContainerConfig.Labels != nil {
if u, ok := img.ContainerConfig.Labels["io.openshift.s2i.scripts-url"]; ok {
return u, nil
Expand Down

0 comments on commit 395ae87

Please sign in to comment.