Fixed golangci-lint issues: /fission/pkg (#1902)
This commit is contained in:
@@ -107,7 +107,7 @@ func (c *Function) Get(m *metav1.ObjectMeta) (*fv1.Function, error) {
|
||||
func (c *Function) GetRawDeployment(m *metav1.ObjectMeta) ([]byte, error) {
|
||||
relativeUrl := fmt.Sprintf("functions/%v", m.Name)
|
||||
relativeUrl += fmt.Sprintf("?namespace=%v", m.Namespace)
|
||||
relativeUrl += fmt.Sprintf("&deploymentraw=1")
|
||||
relativeUrl += "&deploymentraw=1"
|
||||
|
||||
resp, err := c.client.Get(relativeUrl)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user