Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Commit

Permalink
Fixed update command to use cluster default config
Browse files Browse the repository at this point in the history
Signed-off-by: Prafulla Mahindrakar <[email protected]>
  • Loading branch information
pmahindrakar-oss committed May 12, 2021
1 parent c4a6262 commit 1573ec6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/update/update.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package update

import (
"github.com/flyteorg/flytectl/cmd/config/subcommand/clusterresourceattribute"
"github.com/flyteorg/flytectl/cmd/config/subcommand/taskresourceattribute"
cmdCore "github.com/flyteorg/flytectl/cmd/core"

Expand Down Expand Up @@ -39,7 +40,7 @@ func CreateUpdateCommand() *cobra.Command {
Short: updateWorkflowShort, Long: updateWorkflowLong},
"task-resource-attribute": {CmdFunc: updateTaskResourceAttributesFunc, Aliases: []string{}, PFlagProvider: taskresourceattribute.DefaultUpdateConfig,
Short: taskResourceAttributesShort, Long: taskResourceAttributesLong, ProjectDomainNotRequired: true},
"cluster-resource-attribute": {CmdFunc: updateClusterResourceAttributesFunc, Aliases: []string{}, PFlagProvider: taskresourceattribute.DefaultUpdateConfig,
"cluster-resource-attribute": {CmdFunc: updateClusterResourceAttributesFunc, Aliases: []string{}, PFlagProvider: clusterresourceattribute.DefaultUpdateConfig,
Short: clusterResourceAttributesShort, Long: clusterResourceAttributesLong, ProjectDomainNotRequired: true},
}
cmdCore.AddCommands(updateCmd, updateResourcesFuncs)
Expand Down

0 comments on commit 1573ec6

Please sign in to comment.