Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Fix CronJob manifest verification #1133

Merged
merged 1 commit into from
Jun 11, 2018
Merged

Fix CronJob manifest verification #1133

merged 1 commit into from
Jun 11, 2018

Commits on Jun 8, 2018

  1. Fix CronJob manifest verification

    This fixes the error
    
        verifying changes: failed to verify changes: updating container
        \"some-cronjob\" in resource \"default:cronjob/some-cronjob\" failed:
        container \"some-cronjob\" not found in workload
    
    while verifying a CronJob file.
    
    `yaml.Unmarshal` unmarshals from yaml fields into struct fields
    according to their lowercase version. For the struct field `JobTemplate`
    it is looking for `jobtemplate` while it is actually named
    `jobTemplate`.
    rndstr committed Jun 8, 2018
    Configuration menu
    Copy the full SHA
    1f4e036 View commit details
    Browse the repository at this point in the history