File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 3
3
"files": "go.sum|^.secrets.baseline$",
4
4
"lines": null
5
5
},
6
- "generated_at": "2025-04-07T12:56:25Z ",
6
+ "generated_at": "2025-04-09T14:27:39Z ",
7
7
"plugins_used": [
8
8
{
9
9
"name": "AWSKeyDetector"
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ func main() {
72
72
router := gin .Default ()
73
73
74
74
router .POST ("/api/cos/mount" , handleCosMount ())
75
- router .POST ("/api/cos/unmount" , handleCosUnmount ())
75
+ // router.POST("/api/cos/unmount", handleCosUnmount())
76
76
77
77
// Serve HTTP requests over Unix socket
78
78
err = http .Serve (listener , router )
@@ -118,6 +118,9 @@ func handleCosMount() gin.HandlerFunc {
118
118
}
119
119
}
120
120
121
+ // Currently by calling FuseUnmount method from NodeServer is able to unmount the volume
122
+ // If required to have specific unmount methods based on mounters then following call can be modified and used
123
+ /*
121
124
func handleCosUnmount() gin.HandlerFunc {
122
125
return func(c *gin.Context) {
123
126
var request struct {
@@ -146,3 +149,4 @@ func handleCosUnmount() gin.HandlerFunc {
146
149
c.JSON(http.StatusOK, "Success!!")
147
150
}
148
151
}
152
+ */
You can’t perform that action at this time.
0 commit comments