Skip to content

Commit

Permalink
Make containerImageDescriptions optional
Browse files Browse the repository at this point in the history
  • Loading branch information
petersutter committed Mar 20, 2020
1 parent ad9a3a2 commit 68e871d
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 68e871d

Please sign in to comment.