mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-18 17:01:07 +00:00
bump golangci-lint-action (#4109)
Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
parent
2053d17564
commit
5dbd8082fb
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -52,7 +52,7 @@ jobs:
|
||||
- name: golangci-lint CLI
|
||||
uses: golangci/golangci-lint-action@v6
|
||||
with:
|
||||
version: v1.59.0
|
||||
version: v1.63.4
|
||||
working-directory: src/cmd/linuxkit
|
||||
args: --verbose --timeout=10m
|
||||
- name: go vet CLI
|
||||
|
@ -377,7 +377,7 @@ func (g GCPClient) GetInstanceSerialOutput(instance, zone string) error {
|
||||
}
|
||||
return err
|
||||
}
|
||||
fmt.Printf(res.Contents)
|
||||
fmt.Print(res.Contents)
|
||||
next = res.Next
|
||||
// When the instance has been stopped, Start and Next will both be 0
|
||||
if res.Start > 0 && next == 0 {
|
||||
@ -429,7 +429,7 @@ func (g GCPClient) ConnectToInstanceSerialPort(instance, zone string) error {
|
||||
break
|
||||
}
|
||||
if conn == nil {
|
||||
return fmt.Errorf(err.Error())
|
||||
return err
|
||||
}
|
||||
defer conn.Close()
|
||||
|
||||
|
@ -185,7 +185,7 @@ func runAWSCmd() *cobra.Command {
|
||||
if err != nil {
|
||||
return fmt.Errorf("Error decoding output: %s", err)
|
||||
}
|
||||
fmt.Printf(string(out) + "\n")
|
||||
fmt.Printf("%s\n", string(out))
|
||||
}
|
||||
log.Infof("Terminating instance %s", *instanceID)
|
||||
terminateParams := &ec2.TerminateInstancesInput{
|
||||
|
@ -615,7 +615,7 @@ func (s *ScalewayClient) ConnectSerialPort(instanceID string) error {
|
||||
go func() {
|
||||
err = gottyClient.Loop()
|
||||
if err != nil {
|
||||
fmt.Printf("ERROR: " + err.Error())
|
||||
fmt.Printf("ERROR: %v", err)
|
||||
}
|
||||
//gottyClient.Close()
|
||||
done <- true
|
||||
|
Loading…
Reference in New Issue
Block a user