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

Crash if no tag is provided for the container image #39

Closed
siegfriedweber opened this issue Jan 20, 2021 · 0 comments · Fixed by #40
Closed

Crash if no tag is provided for the container image #39

siegfriedweber opened this issue Jan 20, 2021 · 0 comments · Fixed by #40

Comments

@siegfriedweber
Copy link
Member

The agent crashes if no tag is provided for the container image.

Given the following kafka.yaml:

apiVersion: v1
kind: Pod
metadata:
  name: kafka
spec:
  containers:
  - name: kafka
    image: kafka
  tolerations:
  - key: "kubernetes.io/arch"
    operator: "Equal"
    value: "stackable-linux"

When the pod is deployed:

$ kubectl apply -f kafka.yml

Then the agent crashes with the following log output:

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/provider/repository/package.rs:42:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant