Bug on Format date
This commit is contained in:
		@@ -64,6 +64,7 @@ func (wfa *Workflow) CheckBooking(subPath string, caller *tools.HTTPCaller) (boo
 | 
			
		||||
			if code != 200 {
 | 
			
		||||
				return false, err
 | 
			
		||||
			}
 | 
			
		||||
			subPath = strings.ReplaceAll(subPath, ":datacenter_id", fmt.Sprintf("%v", dc_id))
 | 
			
		||||
			subPath = strings.ReplaceAll(subPath, ":start_date", wfa.getFormat(wfa.Schedule.Start))
 | 
			
		||||
			subPath = strings.ReplaceAll(subPath, ":end_date", wfa.getFormat(&e))
 | 
			
		||||
			_, err = p.(*peer.Peer).LaunchPeerExecution(peerID, "", p.(*peer.Peer).Url+subPath, utils.BOOKING, tools.GET, nil, caller)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user