Skip to content

Commit

Permalink
fix(k8s): fix regression in sync stop logic
Browse files Browse the repository at this point in the history
A recent change introduced kebab-casing for the sync keys used with
Mutagen, but this wasn't applied in the sync prefix helper. This led to
syncs not being stopped by the `sync stop` command.
  • Loading branch information
thsig authored and vvagaytsev committed Jun 27, 2023
1 parent c886789 commit e334942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/kubernetes/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ export async function getSyncStatus(params: GetSyncStatusParams): Promise<GetSyn
}

function getSyncKeyPrefix(ctx: PluginContext, action: SupportedRuntimeAction) {
return `k8s--${ctx.environmentName}--${ctx.namespace}--${action.name}--`
return kebabCase(`k8s--${ctx.environmentName}--${ctx.namespace}--${action.name}--`)
}

/**
Expand Down

0 comments on commit e334942

Please sign in to comment.