fix 依赖库,
This commit is contained in:
		
							parent
							
								
									aeeab81f18
								
							
						
					
					
						commit
						72460b5bf0
					
				|  | @ -98,7 +98,7 @@ func NewStartCmd() *cobra.Command { | ||||||
| 				} | 				} | ||||||
| 			} | 			} | ||||||
| 			// start mq service
 | 			// start mq service
 | ||||||
| 			log.Infof("%s Server has started!, pid: %d", os.Getpid()) | 			log.Infof("%s Server has started!, pid: %d", cfg.Name, os.Getpid()) | ||||||
| 			go func() { | 			go func() { | ||||||
| 				err = mq.ListenAndServe() | 				err = mq.ListenAndServe() | ||||||
| 				if err != nil { | 				if err != nil { | ||||||
|  |  | ||||||
|  | @ -18,6 +18,7 @@ functions: | ||||||
|   - name: task-execute |   - name: task-execute | ||||||
|   - name: dataset-request |   - name: dataset-request | ||||||
|   - name: capture-agent |   - name: capture-agent | ||||||
|  |   - name: task-execute-log | ||||||
| logging: | logging: | ||||||
|   path: ./logs |   path: ./logs | ||||||
|   prefix: mq-node |   prefix: mq-node | ||||||
|  |  | ||||||
							
								
								
									
										10
									
								
								go.mod
								
								
								
								
							
							
						
						
									
										10
									
								
								go.mod
								
								
								
								
							|  | @ -3,8 +3,8 @@ module hpds_mq | ||||||
| go 1.19 | go 1.19 | ||||||
| 
 | 
 | ||||||
| require ( | require ( | ||||||
| 	git.hpds.cc/Component/network v0.0.0-20230405135741-a4ea724bab76 | 	git.hpds.cc/Component/network v0.0.0-20230421024959-bf7300c92a95 | ||||||
| 	git.hpds.cc/pavement/hpds_node v0.0.0-20230405153516-9403c4d01e12 | 	git.hpds.cc/pavement/hpds_node v0.0.0-20230421025304-47b7490878f0 | ||||||
| 	github.com/hashicorp/consul/api v1.15.3 | 	github.com/hashicorp/consul/api v1.15.3 | ||||||
| 	github.com/spf13/cobra v1.6.0 | 	github.com/spf13/cobra v1.6.0 | ||||||
| 	github.com/spf13/viper v1.13.0 | 	github.com/spf13/viper v1.13.0 | ||||||
|  | @ -70,10 +70,10 @@ require ( | ||||||
| 	golang.org/x/crypto v0.4.0 // indirect | 	golang.org/x/crypto v0.4.0 // indirect | ||||||
| 	golang.org/x/exp v0.0.0-20221205204356-47842c84f3db // indirect | 	golang.org/x/exp v0.0.0-20221205204356-47842c84f3db // indirect | ||||||
| 	golang.org/x/mod v0.6.0 // indirect | 	golang.org/x/mod v0.6.0 // indirect | ||||||
| 	golang.org/x/net v0.4.0 // indirect | 	golang.org/x/net v0.5.0 // indirect | ||||||
| 	golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 // indirect | 	golang.org/x/oauth2 v0.0.0-20220411215720-9780585627b5 // indirect | ||||||
| 	golang.org/x/sys v0.3.0 // indirect | 	golang.org/x/sys v0.4.0 // indirect | ||||||
| 	golang.org/x/text v0.5.0 // indirect | 	golang.org/x/text v0.6.0 // indirect | ||||||
| 	golang.org/x/tools v0.2.0 // indirect | 	golang.org/x/tools v0.2.0 // indirect | ||||||
| 	golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df // indirect | 	golang.org/x/xerrors v0.0.0-20220517211312-f3a8303e98df // indirect | ||||||
| 	google.golang.org/api v0.81.0 // indirect | 	google.golang.org/api v0.81.0 // indirect | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue