Skip to content

Commit

Permalink
Merge pull request #636 from gardener/enh/make-container-image-descri…
Browse files Browse the repository at this point in the history
…ptions-optional

Make containerImageDescriptions optional
  • Loading branch information
petersutter committed Mar 20, 2020
2 parents ad9a3a2 + 68e871d commit c9c8b79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/lib/services/terminals/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function toTerminalMetadata (terminal) {

function imageHelpText (terminal) {
const containerImage = terminal.spec.host.pod.containerImage
const imageDescriptions = getConfigValue('terminal.containerImageDescriptions')
const imageDescriptions = getConfigValue('terminal.containerImageDescriptions', [])

return findImageDescription(containerImage, imageDescriptions)
}
Expand Down

0 comments on commit c9c8b79

Please sign in to comment.