Skip to content

fix(healthcare): correct typo 'occured' to 'occurred' in importDicomInstance.js#4291

Merged
iennae merged 2 commits intoGoogleCloudPlatform:mainfrom
mohammadmseet-hue:fix-healthcare-typo-occurred
Apr 21, 2026
Merged

fix(healthcare): correct typo 'occured' to 'occurred' in importDicomInstance.js#4291
iennae merged 2 commits intoGoogleCloudPlatform:mainfrom
mohammadmseet-hue:fix-healthcare-typo-occurred

Conversation

@mohammadmseet-hue
Copy link
Copy Markdown
Contributor

Description

Fixes a minor spelling typo (occuredoccurred) in the console.log string emitted by the DICOM instance import sample when the returned Long-Running Operation contains errors.

Location

healthcare/dicom/importDicomInstance.js:76

Before:
```js
console.log(
'Resource on which error occured:',
data.error.details[0]['sampleErrors'][0]['resource']
);
```

After:
```js
console.log(
'Resource on which error occurred:',
data.error.details[0]['sampleErrors'][0]['resource']
);
```

Scope

  • Pure spelling correction in user-visible console output.
  • No behavior change.
  • No tests affected (the string is not asserted against anywhere in this repo — verified via grep).
  • Single package (healthcare/dicom); no other files touched.

…nstance

Minor spelling fix in the console.log string emitted when a DICOM import
operation returns a sample error. User-facing output only; no behavior
change.
@mohammadmseet-hue mohammadmseet-hue requested review from a team as code owners April 20, 2026 00:21
@product-auto-label product-auto-label Bot added api: healthcare Issues related to the Cloud Healthcare API API. samples Issues that are directly related to samples. api: healhcare labels Apr 20, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request corrects a spelling error in a console log within healthcare/dicom/importDicomInstance.js, changing 'occured' to 'occurred'. There are no review comments to address, and I have no further feedback to provide.

@iennae
Copy link
Copy Markdown
Contributor

iennae commented Apr 21, 2026

Thanks for the contribution; we appreciate your diligence in finding issues and contributing fixes (Even the spelling!)

@iennae iennae merged commit 6cf803c into GoogleCloudPlatform:main Apr 21, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: healthcare Issues related to the Cloud Healthcare API API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants