Update go dependencies to latest and actions used in workflows (#2510)

* Updated all Go language dependencies to latest version available
* Formatted all files as per gofmt
* Update Golangci-lint version to 1.48.0
* Updated action version wherer application in Github workflows
* Updated Kubernetes version to latest available
* Remove "io/ioutil" references and replace with "io"/"os"

Signed-off-by: Sanket Sudake <sanketsudake@gmail.com>
This commit is contained in:
Sanket Sudake
2022-08-19 13:36:37 +05:30
committed by GitHub
parent 5c4121ca1e
commit 3b4211b581
36 changed files with 170 additions and 160 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ import (
"github.com/fission/fission/pkg/fission-cli/flag"
)
//Commands returns canary config commands
// Commands returns canary config commands
func Commands() *cobra.Command {
createCmd := &cobra.Command{
Use: "create",
+1 -1
View File
@@ -5,7 +5,7 @@ Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
+1 -1
View File
@@ -296,7 +296,7 @@ func (fr *FissionResources) validateFunctionReference(functions map[string]bool,
return nil
}
//Validate validates the spec file for irregular references
// Validate validates the spec file for irregular references
func (fr *FissionResources) Validate(input cli.Input) ([]string, error) {
result := utils.MultiErrorWithFormat()
var warnings []string
+1 -1
View File
@@ -23,7 +23,7 @@ import (
"github.com/fission/fission/pkg/fission-cli/flag"
)
//Commands returns support commands
// Commands returns support commands
func Commands() *cobra.Command {
dumpCmd := &cobra.Command{
Use: "dump",