Skip to content

Commit

Permalink
Update info.go
Browse files Browse the repository at this point in the history
  • Loading branch information
yannip1234 authored Feb 2, 2022
1 parent c11a1ac commit 932a16a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions handlers/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,14 @@ func MakeInfoHandler(version, sha string) http.HandlerFunc {

log.Info("info request")

temp := typesv1.VersionInfo{
Release: version,
SHA: sha,
}


infoResponse := typesv1.ProviderInfo{
Orchestration: OrchestrationIdentifier,
Name: ProviderName,
Version: &temp,
Version:= typesv1.VersionInfo{
Release: version,
SHA: sha,
},
}

jsonOut, marshalErr := json.Marshal(infoResponse)
Expand Down

0 comments on commit 932a16a

Please # to comment.