Skip to content

Commit

Permalink
Fix custom bin image in OE (#1548)
Browse files Browse the repository at this point in the history
Signed-off-by: Pablo Chico de Guzman <pchico83@gmail.com>
  • Loading branch information
pchico83 committed May 19, 2021
1 parent 93062cd commit f0cfee1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/model/dev.go
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,7 @@ func (dev *Dev) ToTranslationRule(main *Dev, reset bool) *TranslationRule {
}
if main == dev {
rule.Marker = OktetoBinImageTag //for backward compatibility
rule.OktetoBinImageTag = OktetoBinImageTag
rule.OktetoBinImageTag = dev.InitContainer.Image
rule.Environment = append(
rule.Environment,
EnvVar{
Expand Down
2 changes: 1 addition & 1 deletion pkg/model/translation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ initContainer:
rule := dev.ToTranslationRule(dev, false)
ruleOK := &TranslationRule{
Marker: OktetoBinImageTag,
OktetoBinImageTag: OktetoBinImageTag,
OktetoBinImageTag: "image",
ImagePullPolicy: apiv1.PullAlways,
Command: []string{"/var/okteto/bin/start.sh"},
Args: []string{"-r", "-v"},
Expand Down

0 comments on commit f0cfee1

Please sign in to comment.