linting
This commit is contained in:
		
							parent
							
								
									58e2e607e5
								
							
						
					
					
						commit
						a273f6087d
					
				|  | @ -2,9 +2,9 @@ package options | |||
| 
 | ||||
| type AWSIAMConfig struct { | ||||
| 	// AWS service redis service being used. "elasticache" or "memorydb"
 | ||||
| 	ServiceName         string   `json:"serviceName,omitempty` | ||||
| 	ServiceName string `json:"serviceName,omitempty"` | ||||
| 	// AWS Cluster name
 | ||||
| 	ClusterName         string   `json:"clusterName,omitempty` | ||||
| 	ClusterName string `json:"clusterName,omitempty"` | ||||
| 	// AWS Username
 | ||||
| 	Username            string   `json:"userName,omitempty` | ||||
| 	Username string `json:"userName,omitempty"` | ||||
| } | ||||
|  |  | |||
|  | @ -284,8 +284,7 @@ var _ = Describe("Redis SessionStore Tests", func() { | |||
| 					}, | ||||
| 				} | ||||
| 
 | ||||
| 				var opt *redis.Options | ||||
| 				opt = &redis.Options{} | ||||
| 				var opt = &redis.Options{} | ||||
| 
 | ||||
| 				err := setupAWSIAMAuth(redisOpts, opt) | ||||
| 				Expect(err).ToNot(HaveOccurred()) | ||||
|  | @ -300,8 +299,7 @@ var _ = Describe("Redis SessionStore Tests", func() { | |||
| 					AWSIAMConfig: nil, | ||||
| 				} | ||||
| 
 | ||||
| 				var opt *redis.Options | ||||
| 				opt = &redis.Options{} | ||||
| 				var opt = &redis.Options{} | ||||
| 
 | ||||
| 				err := setupAWSIAMAuth(redisOpts, opt) | ||||
| 				Expect(err).ToNot(HaveOccurred()) | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue