Merge branch 'origin/main' into 'next-release/main'

This commit is contained in:
oauth 2025-01-23 17:12:18 +00:00
commit e5ca83e190
2 changed files with 2 additions and 2 deletions

View file

@ -93,7 +93,7 @@ func getClientOutOfCluster() (kubernetes.Interface, error) {
return kubernetes.NewForConfig(config)
}
// getClient returns a k8s client set to the request from inside of cluster.
// getClientInsideOfCluster returns a k8s client set to the request from inside of cluster.
func getClientInsideOfCluster() (kubernetes.Interface, error) {
config, err := rest.InClusterConfig()
if err != nil {

View file

@ -319,7 +319,7 @@ func (c *client) Pipeline(repoID, pipeline int64) (*Pipeline, error) {
return out, err
}
// Pipeline returns the latest repository pipeline.
// PipelineLast returns the latest repository pipeline.
func (c *client) PipelineLast(repoID int64, opt PipelineLastOptions) (*Pipeline, error) {
out := new(Pipeline)
uri, _ := url.Parse(fmt.Sprintf(pathPipeline, c.addr, repoID, "latest"))