File tree Expand file tree Collapse file tree 1 file changed +8
-13
lines changed
Expand file tree Collapse file tree 1 file changed +8
-13
lines changed Original file line number Diff line number Diff line change @@ -563,7 +563,7 @@ const createTemplateVersionTar = async (
563563 responses : EchoProvisionerResponses = { } ,
564564) : Promise < Buffer > => {
565565 if ( responses . graph ) {
566- if ( ! responses . apply ) {
566+ if ( ! responses . apply ) {
567567 responses . apply = responses . graph . map ( ( response ) => {
568568 if ( response . log ) {
569569 return response ;
@@ -575,7 +575,7 @@ const createTemplateVersionTar = async (
575575 } ;
576576 } ) ;
577577 }
578- if ( ! responses . plan ) {
578+ if ( ! responses . plan ) {
579579 responses . plan = responses . graph . map ( ( response ) => {
580580 if ( response . log ) {
581581 return response ;
@@ -621,8 +621,8 @@ const createTemplateVersionTar = async (
621621 responses . graph = [
622622 {
623623 graph : { } ,
624- }
625- ]
624+ } ,
625+ ] ;
626626 }
627627
628628 const tar = new TarWriter ( ) ;
@@ -727,17 +727,12 @@ const createTemplateVersionTar = async (
727727 } ;
728728
729729 responses . apply . forEach ( ( response , index ) => {
730- response . graph = {
730+ response . apply = {
731731 error : "" ,
732732 state : new Uint8Array ( ) ,
733- resources : [ ] ,
734- parameters : [ ] ,
735- externalAuthProviders : [ ] ,
736733 timings : [ ] ,
737- aiTasks : [ ] ,
738- ...response . graph ,
734+ ...response . apply ,
739735 } as ApplyComplete ;
740- response . graph . resources = response . graph . resources ?. map ( fillResource ) ;
741736
742737 tar . addFile (
743738 `${ index } .apply.protobuf` ,
@@ -916,7 +911,7 @@ ${options}}
916911 init : [
917912 {
918913 init : { } ,
919- }
914+ } ,
920915 ] ,
921916 parse : [
922917 {
@@ -951,7 +946,7 @@ export const echoResponsesWithExternalAuth = (
951946 init : [
952947 {
953948 init : { } ,
954- }
949+ } ,
955950 ] ,
956951 parse : [
957952 {
You can’t perform that action at this time.
0 commit comments