Skip to content

Commit e1b73a0

Browse files
committed
fix(deploy): replace real instance id with neutral placeholder in unsubscribe examples
The unsubscribe command example and e2e fixture used a real prepaid capacity instance id (including its sfm_ptuPrepaid_public_cn naming pattern), which a PR secret scan flagged. Switch to the generic example-instance placeholder already used by other deploy commands and regenerate the finetune skill reference.
1 parent b7e432b commit e1b73a0

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/commands/src/commands/deploy/capacity-unsubscribe.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default defineCommand({
1010
auth: "none",
1111
flags: CAPACITY_INSTANCE_FLAG,
1212
usageArgs: "--instance-id <id>",
13-
exampleArgs: ["--instance-id sfm_ptuPrepaid_public_cn0f88a9f74509"],
13+
exampleArgs: ["--instance-id example-instance"],
1414
notes: [
1515
{
1616
"en-US":

‎packages/commands/tests/e2e/deploy.e2e.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ describe("e2e: deploy read-only queries (offline, no credentials)", () => {
192192

193193
// Unsubscribe is a pure link builder: no auth, no network, no confirmation.
194194
describe("e2e: deploy capacity unsubscribe (offline, no credentials)", () => {
195-
const INSTANCE_ID = "sfm_ptuPrepaid_public_cn0f88a9f74509";
195+
const INSTANCE_ID = "example-instance";
196196
const REFUND_URL = `https://billing-cost.console.aliyun.com/refund/refund?instanceId=${INSTANCE_ID}`;
197197

198198
function runUnsubscribe(args: string[]) {

‎skills/bailian-finetune/reference/deploy.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ bl deploy capacity scale --deployed-model example-code --instance-id example-ins
374374
#### Examples
375375

376376
```bash
377-
bl deploy capacity unsubscribe --instance-id sfm_ptuPrepaid_public_cn0f88a9f74509
377+
bl deploy capacity unsubscribe --instance-id example-instance
378378
```
379379

380380
### `bl deploy delete`

0 commit comments

Comments
 (0)