returnfmt.Errorf(fmt.Sprintf("Failed to add project with name %s to group path %s. error: %v",*projectOptions.Name,parentGroupFullPath,err))
returnfmt.Errorf("failed to add project with name %s to group path %s. error: %v",*projectOptions.Name,groupFullPath,err)
}
ifstatusCode!=http.StatusCreated{
returnfmt.Errorf(fmt.Sprintf("Failed to add project with name %s to group path %s. statusCode: %d",*projectOptions.Name,parentGroupFullPath,statusCode))
returnfmt.Errorf(fmt.Sprintf("Failed to add project with name %s to group path %s. statusCode: %d",*projectOptions.Name,groupFullPath,statusCode))
}
rlog.Debugf("Added project %s to path %s with status code %d",project.Name,project.NameWithNamespace,statusCode)