client->restmapper

Signed-off-by: Austin Abro <AustinAbro321@gmail.com>
pull/13604/head
Austin Abro 7 months ago
parent 7eeb438053
commit 600947b32e
No known key found for this signature in database
GPG Key ID: 92EB5159E403F9D6

@ -17,7 +17,7 @@ See the License for the specific language governing permissions and
limitations under the License. limitations under the License.
*/ */
package client package restmapper
import ( import (
"fmt" "fmt"

@ -51,7 +51,7 @@ import (
"k8s.io/client-go/util/retry" "k8s.io/client-go/util/retry"
cmdutil "k8s.io/kubectl/pkg/cmd/util" cmdutil "k8s.io/kubectl/pkg/cmd/util"
helmClient "helm.sh/helm/v4/internal/client" helmRestmapper "helm.sh/helm/v4/internal/restmapper"
) )
// ErrNoObjectsVisited indicates that during a visit operation, no matching objects were found. // ErrNoObjectsVisited indicates that during a visit operation, no matching objects were found.
@ -114,7 +114,7 @@ func (c *Client) newStatusWatcher() (*statusWaiter, error) {
if err != nil { if err != nil {
return nil, err return nil, err
} }
restMapper, err := helmClient.NewLazyRESTMapper(cfg, httpClient) restMapper, err := helmRestmapper.NewLazyRESTMapper(cfg, httpClient)
if err != nil { if err != nil {
return nil, err return nil, err
} }

Loading…
Cancel
Save