Skip to content

Commit 73b33fa

Browse files
authored
Update options.go
delete unuseful file
1 parent 290c108 commit 73b33fa

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cmd/operator/app/options/options.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,7 @@ func (opt *Options) Config() (*config.Config, error) {
8484
redisStandbyInformer := extInformerFactory.Cache().V1alpha1().RedisStandbies()
8585
redisClusterInformer := extInformerFactory.Cache().V1alpha1().RedisClusters()
8686

87-
statefulSetTemp, err := template.NewTemplate("/statefulset.tmpl")
88-
if err != nil {
89-
return nil, fmt.Errorf("cant' create statefulset template")
90-
}
87+
9188

9289
redisStandaloneStatefulsetTemp, err := template.NewTemplate("/statefulset_redis_standalone.tmpl")
9390
if err != nil {

0 commit comments

Comments
 (0)