Skip to content

Commit

Permalink
Merge pull request #16 from hellofresh/patch/CRS-2242/upstream-changes
Browse files Browse the repository at this point in the history
CRS-2242 Merge upstream changes
  • Loading branch information
startnow65 authored Dec 14, 2021
2 parents 36813c5 + 7e8cd33 commit d963294
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/docs/api/workerroutes.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ For more information on this type, see the [Cloudflare documentation](https://ap

### Zone

Each `kind: PageRule` must contain a `spec.zone` string attribute.
Each `kind: WorkerRoute` must contain a `spec.zone` string attribute.
The value of this attribute must match a [Zone](../zone) name managed by Kubeflare.
The API token to call Cloudflare API will be read from the associated Zone resource.

Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/kubeflarecli/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func ImportCmd() *cobra.Command {
if v.GetBool("worker-routes") {
workerRoutes, err := workerroute.FetchWorkerRoutesForZone(v.GetString("api-token"), v.GetString("zone"), zoneID)
if err != nil {
return errors.Wrap(err, "fetch dns records")
return errors.Wrap(err, "fetch worker routes")
}

for _, workerRoute := range workerRoutes {
Expand Down

0 comments on commit d963294

Please sign in to comment.