Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 4fb4857

Browse files
committed
Updates cmd call with flags
Signed-off-by: JoshVanL <vleeuwenjoshua@gmail.com>
1 parent ff74905 commit 4fb4857

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

cmd/tarmak/cmd/cluster_images_destroy.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ var clusterImagesDestroyCmd = &cobra.Command{
2020
},
2121
Run: func(cmd *cobra.Command, args []string) {
2222
t := tarmak.New(globalFlags)
23-
t.CancellationContext().WaitOrCancel(t.NewCmdTarmak(args).ImagesDestroy)
23+
t.CancellationContext().WaitOrCancel(t.NewCmdTarmak(cmd.Flags(), args).ImagesDestroy)
2424
},
2525
}
2626

docs/generated/cmd/tarmak/tarmak_clusters_images_destroy.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Options inherited from parent commands
3232
--current-cluster string override the current cluster set in the config
3333
--keep-containers do not clean-up terraform/packer containers after running them
3434
--log-flush-frequency duration Maximum number of seconds between log flushes (default 5s)
35+
--public-api-endpoint Override kubeconfig to point to cluster's public API endpoint
3536
-v, --verbose enable verbose logging
3637
--wing-dev-mode use a bundled wing version rather than a tagged release from GitHub
3738

0 commit comments

Comments
 (0)