Skip to content

Commit

Permalink
Merge branch 'master' into bank-abc
Browse files Browse the repository at this point in the history
  • Loading branch information
heheh13 authored Oct 5, 2023
2 parents e63804b + ceb2bda commit bc3db36
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/restarter/elasticsearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func (e *ElasticsearchRestarter) Restart(name, namespace string) (string, error)
Name: name,
},
Restart: &v1alpha1.RestartSpec{},
Apply: v1alpha1.ApplyOptionAlways,
},
}
_, err = e.opsClient.ElasticsearchOpsRequests(namespace).Create(context.TODO(), restartOpsRequest, metav1.CreateOptions{})
Expand Down
1 change: 1 addition & 0 deletions pkg/restarter/mariadb.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func (e *MariaDBRestarter) Restart(name, namespace string) (string, error) {
Name: name,
},
Restart: &v1alpha1.RestartSpec{},
Apply: v1alpha1.ApplyOptionAlways,
},
}
_, err = e.opsClient.MariaDBOpsRequests(namespace).Create(context.TODO(), restartOpsRequest, metav1.CreateOptions{})
Expand Down
1 change: 1 addition & 0 deletions pkg/restarter/mongodb.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func (e *MongoDBRestarter) Restart(name, namespace string) (string, error) {
Name: name,
},
Restart: &v1alpha1.RestartSpec{},
Apply: v1alpha1.ApplyOptionAlways,
},
}
_, err = e.opsClient.MongoDBOpsRequests(namespace).Create(context.TODO(), restartOpsRequest, metav1.CreateOptions{})
Expand Down
1 change: 1 addition & 0 deletions pkg/restarter/mysql.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func (e *MySQLRestarter) Restart(name, namespace string) (string, error) {
Name: name,
},
Restart: &v1alpha1.RestartSpec{},
Apply: v1alpha1.ApplyOptionAlways,
},
}
_, err = e.opsClient.MySQLOpsRequests(namespace).Create(context.TODO(), restartOpsRequest, metav1.CreateOptions{})
Expand Down
1 change: 1 addition & 0 deletions pkg/restarter/postgres.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func (e *PostgresRestarter) Restart(name, namespace string) (string, error) {
Name: name,
},
Restart: &v1alpha1.RestartSpec{},
Apply: v1alpha1.ApplyOptionAlways,
},
}
_, err = e.opsClient.PostgresOpsRequests(namespace).Create(context.TODO(), restartOpsRequest, metav1.CreateOptions{})
Expand Down
1 change: 1 addition & 0 deletions pkg/restarter/redis.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func (e *RedisRestarter) Restart(name, namespace string) (string, error) {
Name: name,
},
Restart: &v1alpha1.RestartSpec{},
Apply: v1alpha1.ApplyOptionAlways,
},
}
_, err = e.opsClient.RedisOpsRequests(namespace).Create(context.TODO(), restartOpsRequest, metav1.CreateOptions{})
Expand Down

0 comments on commit bc3db36

Please sign in to comment.