Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

kubeless function describe panic #839

Merged
merged 1 commit into from Jun 29, 2018

Commits on Jun 29, 2018

  1. kubeless function describe panic

    bug fix : kubeless function describe will panic when Containers are empty.
    This happened when function is created by kubeless-ui.
    
    ```
    func print(f kubelessApi.Function, name, output string) error {
    ...
        env, err := json.Marshal(f.Spec.Deployment.Spec.Template.Spec.Containers[0].Env)
    ```
    silenceshell committed Jun 29, 2018
    Configuration menu
    Copy the full SHA
    c3b5a79 View commit details
    Browse the repository at this point in the history