Skip to content

Commit

Permalink
ADD dump info.
Browse files Browse the repository at this point in the history
  • Loading branch information
karminski committed Nov 9, 2023
1 parent 3e022ce commit 4716990
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/actionruntime/illadrive/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ func (r *IllaDriveConnector) Run(resourceOptions map[string]interface{}, actionO
Extra: map[string]interface{}{},
}

fmt.Printf("[DUMP] illadrive.Run() actionOptions: %+v\n", actionOptions)

// resolve actionOptions
teamIDRaw, hitTeamID := actionOptions[DRIVE_ACTION_OPTION_FIELD_TEAM_ID]
if !hitTeamID {
Expand All @@ -72,7 +74,7 @@ func (r *IllaDriveConnector) Run(resourceOptions map[string]interface{}, actionO
}
teamID, teamIDAssertPass := teamIDRaw.(int)
if !teamIDAssertPass {
return res, errors.New("teamID field which in resource options assert failed")
return res, errors.New("teamID field which in action options assert failed")

}
operation, hitOperation := actionOptions[DRIVE_ACTION_OPTIONS_FIELD_OPERATION]
Expand Down

0 comments on commit 4716990

Please sign in to comment.