diff --git a/cmd/instance_pool_update.go b/cmd/instance_pool_update.go index aa134629..b906b64c 100644 --- a/cmd/instance_pool_update.go +++ b/cmd/instance_pool_update.go @@ -71,7 +71,7 @@ func (c *instancePoolUpdateCmd) cmdRun(cmd *cobra.Command, _ []string) error { / return err } - instancePool, err := instancePools.FindInstancePool(c.Name) + instancePool, err := instancePools.FindInstancePool(c.InstancePool) if err != nil { return err }