Fix golint warnings

This commit is contained in:
Murat Kabilov
2017-08-01 16:08:56 +02:00
committed by GitHub
parent c02a740e10
commit cf663cb841
26 changed files with 122 additions and 89 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import "time"
// AWS specific constants used by other modules
const (
// default region for AWS. TODO: move it to the operator configuration
AWS_REGION = "eu-central-1"
AWSRegion = "eu-central-1"
// EBS related constants
EBSVolumeIDStart = "/vol-"
EBSProvisioner = "kubernetes.io/aws-ebs"
+1
View File
@@ -1,5 +1,6 @@
package constants
// PostgreSQL specific constants
const (
DataVolumeName = "pgdata"
PodRoleMaster = "master"
+1
View File
@@ -1,5 +1,6 @@
package constants
// Roles specific constants
const (
PasswordLength = 64
UserSecretTemplate = "%s.%s.credentials." + TPRKind + "." + TPRGroup // Username, ClusterName