Skip to content

Commit

Permalink
Fixing typo and removing the commented code (#4064)
Browse files Browse the repository at this point in the history
  • Loading branch information
prietyc123 committed Oct 2, 2020
1 parent ee49360 commit b26f1ec
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions pkg/odo/cli/component/common_link.go
Expand Up @@ -84,12 +84,6 @@ func (o *commonLinkOptions) complete(name string, cmd *cobra.Command, args []str
}

if o.csvSupport && o.Context.EnvSpecificInfo != nil {

// oclient, err := occlient.New()
// if err != nil {
// return err
// }

sboSupport, err := o.Client.IsSBRSupported()
if err != nil {
return err
Expand Down Expand Up @@ -152,7 +146,7 @@ func (o *commonLinkOptions) complete(name string, cmd *cobra.Command, args []str
svcExists, err := svc.SvcExists(o.Client, suppliedName, o.Application)
if err != nil {
// we consider this error to be non-terminal since it's entirely possible to use odo without the service catalog
klog.V(4).Infof("Unable to determine if %s is a service. This most likely means the service catalog is not installed. Proceesing to only use components", suppliedName)
klog.V(4).Infof("Unable to determine if %s is a service. This most likely means the service catalog is not installed. Processing to only use components", suppliedName)
svcExists = false
}

Expand Down

0 comments on commit b26f1ec

Please sign in to comment.