Skip to content

Commit

Permalink
update launch_plan.go (#354)
Browse files Browse the repository at this point in the history
* update launch_plan.go

add links to activating and deactivating a launch plan
Signed-off-by: SmritiSatyanV [email protected]

* render correctly

Fix rendering
Signed-off-by: SmritiSatyanV [email protected]
  • Loading branch information
SmritiSatyanV authored Sep 20, 2022
1 parent fce2910 commit 9c10cd1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 3 additions & 2 deletions flytectl/cmd/get/launch_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ Retrieve all launch plans within the project and domain:
flytectl get launchplan -p flytesnacks -d development
.. note::
The terms launchplan/launchplans are interchangeable in these commands.
The terms launchplan/launchplans are interchangeable in these commands.
Retrieve a launch plan by name within the project and domain:
Retrieve a launch plan by name within the project and domain:
::
Expand Down
5 changes: 2 additions & 3 deletions flytectl/cmd/update/launch_plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,16 @@ import (
const (
updateLPShort = "Updates launch plan status"
updateLPLong = `
Activates a launch plan which activates the scheduled job associated with it:
Activates a ` + "`launch plan <https://docs.flyte.org/projects/cookbook/en/latest/auto/core/scheduled_workflows/lp_schedules.html#activating-a-schedule>`__" + ` which activates the scheduled job associated with it:
::
flytectl update launchplan -p flytesnacks -d development core.control_flow.merge_sort.merge_sort --version v1 --activate
Archives (deactivates) a launch plan which deschedules any scheduled job associated with it:
Archives ` + "`(deactivates) <https://docs.flyte.org/projects/cookbook/en/latest/auto/core/scheduled_workflows/lp_schedules.html#deactivating-a-schedule>`__" + ` a launch plan which deschedules any scheduled job associated with it:
::
flytectl update launchplan -p flytesnacks -d development core.control_flow.merge_sort.merge_sort --version v1 --archive
Usage
`
)
Expand Down

0 comments on commit 9c10cd1

Please sign in to comment.