Skip to content

Commit 4507740

Browse files
committed
fix(cmd/rofl): Do not check identities on deploy in export-only mode
1 parent 13a7609 commit 4507740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/rofl/deploy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ var (
8888
cfgEnclaves, err := roflCommon.GetRegisteredEnclaves(ctx, deployment.AppID, npa)
8989
cobra.CheckErr(err)
9090

91-
if !maps.Equal(manifestEnclaves, cfgEnclaves) && !deployForce {
91+
if !maps.Equal(manifestEnclaves, cfgEnclaves) && !deployForce && !txCfg.Export {
9292
// TODO: Generate and run Update TX automatically.
9393
cobra.CheckErr("Local enclave identities DIFFER from on-chain enclave identities! Run `oasis rofl update` first")
9494
}

0 commit comments

Comments
 (0)