From 467f7f71dd1c935645c33d05242f801930b3352f Mon Sep 17 00:00:00 2001 From: Andrey Melnikov Date: Tue, 26 Oct 2021 15:29:12 -0700 Subject: [PATCH] fix: add missing comment --- pkg/client.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/client.go b/pkg/client.go index 7198fa6..1190119 100644 --- a/pkg/client.go +++ b/pkg/client.go @@ -199,6 +199,9 @@ func (c *Client) GetArtifactRepositoryType(namespace string) (string, error) { return artifactRepositoryType.(string), nil } +// GetArtifactRepositorySource returns the original source for the artifact repository +// This can be s3, abs, gcs, etc. Since everything goes through an S3 compatible API, +// it is sometimes useful to know the source. func (c *Client) GetArtifactRepositorySource(namespace string) (string, error) { configMap, err := c.getConfigMap(namespace, "onepanel") if err != nil {