Skip to content

Commit

Permalink
INT - fix make (#179)
Browse files Browse the repository at this point in the history
* fix make

* fix quote
  • Loading branch information
jcollins-axway authored Nov 2, 2023
1 parent e19d3a5 commit ee1da00
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ build-discovery:
-ldflags="-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildTime=${TIME}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildVersion=${VERSION}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildCommitSha=${COMMIT_ID}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.SDKBuildVersion=${SDK_VERSION}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildAgentName=MuleSoftDiscoveryAgent'" \
-X 'github.com/Axway/agent-sdk/pkg/cmd.SDKBuildVersion=${SDK_VERSION}'" \
-o bin/discovery ./cmd/discovery/main.go
@echo "discovery agent binary placed at bin/discovery"

Expand All @@ -70,8 +69,7 @@ build-traceability:
-ldflags="-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildTime=${TIME}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildVersion=${VERSION}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildCommitSha=${COMMIT_ID}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.SDKBuildVersion=${SDK_VERSION}' \
-X 'github.com/Axway/agent-sdk/pkg/cmd.BuildAgentName=MuleSoftTraceabilityAgent'" \
-X 'github.com/Axway/agent-sdk/pkg/cmd.SDKBuildVersion=${SDK_VERSION}'" \
-o bin/traceability ./cmd/traceability/main.go
@echo "traceability agent binary placed at bin/traceability"

Expand Down
1 change: 1 addition & 0 deletions pkg/traceability/muleemitter.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ func (me *MuleEventEmitter) getLastRun() (string, string) {
}
return tStamp.(string), tNow
}

func (me *MuleEventEmitter) saveLastRun(lastTime string) {
me.cache.Set(CacheKeyTimeStamp, lastTime)
me.cache.Save(me.cachePath)
Expand Down

0 comments on commit ee1da00

Please sign in to comment.