Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Amber <[email protected]>
  • Loading branch information
ATorrise committed Feb 14, 2025
1 parent 5291b1a commit 0ebf5e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/zosfiles/src/utils/ZosFilesHeaders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { ZosmfHeaders } from "@zowe/core-for-zowe-sdk";
/**
* Enumeration of operation contexts (USS,ZFS or Dataset-related) used when generating content-type headers.
*
* - **Stream** or **Buffer**: Used when uploading a USS file.
* - **Stream** or **Buffer**: Used when uploading/downloading USS files.
* - **Uss**: Forces JSON content type for USS operations.
* - **Zfs**: Use for ZFS operations; no default content-type header is added.
* - **Undefined**: When no context is provided, the default is to treat the operation as a Dataset creation.
Expand Down Expand Up @@ -160,7 +160,7 @@ export class ZosFilesHeaders {
return {headers, updatedOptions};
}

// Add headers based on context: USS, ZFS or ZOS headers
// Add headers based on context: Upload/download, USS, ZFS or DS headers
switch (context) {
case ZosFilesContext.STREAM:
case ZosFilesContext.BUFFER:
Expand Down

0 comments on commit 0ebf5e2

Please sign in to comment.