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