Skip to content

Commit

Permalink
Fix typed nil being returned.
Browse files Browse the repository at this point in the history
  • Loading branch information
hpidcock committed Apr 28, 2023
1 parent 287b286 commit d908797
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions application.go
Original file line number Diff line number Diff line change
Expand Up @@ -556,6 +556,9 @@ func (a *application) Validate() error {

// ProvisioningState implements Application.
func (a *application) ProvisioningState() ProvisioningState {
if a.ProvisioningState_ == nil {
return nil
}
return a.ProvisioningState_
}

Expand Down

0 comments on commit d908797

Please sign in to comment.