Skip to content

Commit

Permalink
Update pkg/karmadactl/util/factory.go
Browse files Browse the repository at this point in the history
Co-authored-by: Hongcai Ren <renhongcai@huawei.com>
  • Loading branch information
carlory and RainbowMango committed Aug 19, 2022
1 parent 7da0e73 commit 230ada6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/karmadactl/util/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (f *factoryImpl) KarmadaClientSet() (karmadaclientset.Interface, error) {
return karmadaclientset.NewForConfig(clientConfig)
}

// FacotryForMemberCluster returns a cmdutil.Factory for the member cluster
// FactoryForMemberCluster returns a cmdutil.Factory for the member cluster
func (f *factoryImpl) FactoryForMemberCluster(clusterName string) (cmdutil.Factory, error) {
// Get client config of the karmada, and use it to create a cmdutil.Factory for the member cluster later.
clientConfig, err := f.ToRESTConfig()
Expand Down

0 comments on commit 230ada6

Please sign in to comment.