Skip to content

feat(automation): Onboard volume backup automation - #1768

Draft
Fyusel wants to merge 1 commit into
mainfrom
onboard-volume-backup-automation
Draft

Fyusel wants to merge 1 commit into
mainfrom
onboard-volume-backup-automation

Conversation

@Fyusel

@Fyusel Fyusel commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

STACKITTPR-550

Note: There will be changes regarding API. Added as draft in order that colleagues can continue the work if needed.

Description

Checklist

  • Issue was linked above
  • Code format was applied: make fmt
  • Examples were added / adjusted (see examples/ directory)
  • Docs are up-to-date: make generate-docs (will be checked by CI)
  • Unit tests got implemented or updated
  • Acceptance tests got implemented or updated (see e.g. here)
  • Unit tests are passing: make test (will be checked by CI)
  • No linter issues: make lint (will be checked by CI)

STACKITTPR-550

Signed-off-by: Alexander Dahmen <alexander.dahmen@inovex.de>
@Fyusel
Fyusel requested a review from a team as a code owner September 15, 2026 06:53
@Fyusel
Fyusel marked this pull request as draft September 15, 2026 06:53
Comment on lines +109 to +118
// StringPointerValueNullIfEmpty converts a string pointer to types.String, treating an empty
// string as null. Some APIs return "" instead of omitting unset optional fields, which would
// otherwise mismatch a null config for Optional, non-Computed attributes.
func StringPointerValueNullIfEmpty(s *string) types.String {
if s == nil || *s == "" {
return types.StringNull()
}
return types.StringValue(*s)
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

types.StringPointerValue() can be used instead. It does the same thing and comes directly from the framework

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.

2 participants