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:
@@ -21,7 +21,6 @@ limitations under the License.
|
||||
// +k8s:defaulter-gen=TypeMeta
|
||||
// +groupName=fission.io
|
||||
// +groupGoName=core
|
||||
//
|
||||
package v1
|
||||
|
||||
const (
|
||||
|
||||
@@ -883,7 +883,7 @@ type (
|
||||
}
|
||||
)
|
||||
|
||||
//IsEmpty checks if the archive byte and litreal are of length 0
|
||||
// IsEmpty checks if the archive byte and litreal are of length 0
|
||||
func (a Archive) IsEmpty() bool {
|
||||
return len(a.Literal) == 0 && len(a.URL) == 0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user