Skip to content

fix: Handle case when image is nil when fetching an instance#74

Merged
amstuta merged 1 commit intomainfrom
dev/aamstutz/instance-handle-null-image
Oct 17, 2025
Merged

fix: Handle case when image is nil when fetching an instance#74
amstuta merged 1 commit intomainfrom
dev/aamstutz/instance-handle-null-image

Conversation

@amstuta
Copy link
Collaborator

@amstuta amstuta commented Oct 17, 2025

Description

Avoid templating error when fetching an instance that has a null image field.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the style guidelines of this project
  • I have commented my code
  • I updated the documentation by running make doc
  • I ran go mod tidy
  • I have added tests that prove my fix is effective or that my feature works

@amstuta amstuta requested a review from a team as a code owner October 17, 2025 08:10
deathiop
deathiop previously approved these changes Oct 17, 2025
Signed-off-by: Arthur Amstutz <arthur.amstutz@corp.ovh.com>
@amstuta amstuta force-pushed the dev/aamstutz/instance-handle-null-image branch from d60c4c7 to 8b3ccdd Compare October 17, 2025 08:24
@amstuta amstuta merged commit 9a94a22 into main Oct 17, 2025
5 checks passed
fluatovh pushed a commit to fluatovh/ovhcloud-cli that referenced this pull request Nov 17, 2025
…image

fix: Handle case when image is nil when fetching an instance
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants